I had gone through a heap load of trouble getting this to work to let's get started:
First download Qt 5.0.1 from http://qt-project.org/downloads. I'm using a 32bit machine so I'll select that and download the file qt-linux-opensource-5.0.1-x86-offline.run. To install the .run file, right click for terminal in the directory containing the installer and type:
Code: Select all
chmod u+x qt-linux-opensource-5.0.1-x86-offline.run
sudo ./qt-linux-opensource-5.0.1-x86-offline.run
Now if you just try to run Qt Creator now you'll realize you can't open the application(update: this seems to be fixed with Qt 5.0.2… or Mint 15). That's because there seems to be some faulty linking problem thing going on. To fix this, you'll create your own custom launcher.
Right click your desktop and select "Create Launcher...".
* Type = Location
* Name = Qt Creator
* Location = /opt/Qt5.0.1/Tools/QtCreator/bin/qtcreator
now if you navigate to the qt5 directory and type "png" you will be able to find the Qt Creator logo. Just drag and drop it to that red rocket, press "ok" and you have your launcher set up.
Now, you should be able to run Qt creator but unable to build and run anything. That’s because lots of dependencies are missing. You would think that by installing Qt 5.0.1 they would install the dependencies as well but they don’t. Now open up the terminal and copy paste this:
Code: Select all
sudo apt-get install build-essential
sudo apt-get install libx11-xcb-dev libglu1-mesa-dev libxrender-dev
Open a terminal there and type
Code: Select all
sudo chown -R username qtcreator
Now if you do use the examples(opt/Qt5.0.1/5.0.1/gcc/examples), you'll realized that you do not have permission to access it. Why? I don't know. But to change it go to "opt/Qt5.0.1/5.0.1/gcc" right click and open terminal and type
Code: Select all
sudo chown -R username examples
special thanks to sierdzio for making the process a whole lot simpler.