qtcreator examples not enabled
qt, qt-creator
Solution
I downloaded `Qt 5.1` directly from qt-project.org and installed as admin (with sudo) on Linux Mint 12 (based on Ubuntu).
If I started `qtcreator` as normal user I didn't have examples but if started `qtcreator` as admin (with sudo) I had all examples.
My problem was with `examples` folder privilages. It was the only folder without `read/execute` privilage for all users (`/opt/Qt5.1.0/5.1.0/gcc/examples`). All other folders inside (and outside) `examples` had privilages for all users.
EDIT:
I forgot to say - as HostileFork mentioned in comment - `sudo chown -R +rx /opt/Qt/5.1.0/gcc/examples` was solution to this problem.
EDIT:
As noted by Climax - it should be `chmod` instead of `chown`
`sudo chmod -R +rx /opt/Qt/5.1.0/gcc/examples`
Problem
I installed qtcreator on a Ubuntu 11.10 ``` sudo apt-get install qtcreator ``` the versions installed are: QT Creator 2.2.1, QT 4.7.3 When i start qtcreator, to explore QT C++ examples the button is greyed out/disabled and it says Examples not installed. Neither does qtdemo show any demo/documentation? Do i have to install examples, doc separately? If yes, how? How can i enable examples in qtcreator and documentation in qtdemo? EDIT: In response to one answer below from @Murtuza Kabul, I tried many things to point qtcreator to correct qt but could not. So I did uninstall qtcreator and qt-sdk and reinstalled qt-sdk. So now qtcreator is what comes with qt-sdk . It still says examples not installed.