Ubuntu 14.04 QtCreator Qt5 examples missing
To get the Qt5.2 examples available in Qt Creator/Ubuntu SDK, you basically need two extra packages, open a Terminal with Ctrl+Alt+t an type:
sudo apt-get install qtbase5-examples qtbase5-doc-html
Restart Qt Creator to get:
I don't have enough reputation to comment on Sylvain's answer so my answer here is to back it up and expand as per gaoithe's comments.
In my case running Qt Creator 3.0.1 based on Qt 5.2.1. (on Ubuntu 14.04)
I had qtbase5-examples qtbase5-doc-html
already installed, but was still missing network and multimedia examples (and others evidently, but these were the ones I cared about).
After installing the following additional packages:
qt4-demos qt4-doc qt4-doc-html qt5-doc qt5-doc-html
Now I have a shed load of examples that I didn't know were missing.
Thanks
In Ubuntu 18.04 the QtCreator examples and API docs missing, This is my way to solve this problem, should apply to almost every Ubuntu release.
For QtCreator and Examples and API Docs:
sudo apt install `apt-cache search 5-examples | grep qt | grep example | awk '{print $1 }' | xargs `
sudo apt install `apt-cache search 5-doc | grep "Qt 5 " | awk '{print $1}' | xargs`
sudo apt-get install build-essential qtcreator qt5-default
If something is also missing, then:
sudo apt install `apt-cache search qt | grep 5- | grep ^qt | awk '{print $1}' | xargs `
Hope to be helpful.