I have Qt 4.6.3 on Debian. I need version 4.8.1.
To install it I downloaded the Qt SDK 1.2.1 from the Qt site, where is said that it contains version 4.8.1
After installation I checked Qt version and it is 4.6.3 instead of expected 4.8.1.
What I am doing wrong? And how can I install 4.8.1?
First of all I recommend getting ‘official’ Debian Qt upgrades by adding the testing (wheezy) repo to your package manager, this way everything on your system will be updated seamlessly in a few clicks.
If you can’t do this, then:
$PATHto point to the directory withqtcreator,qmake, etc., there are numerous ways of doing this, the simplest is exporting the updated$PATHin your.bashrc. (And optionally make some nice shortcuts for your DE)./usr/lib(or/usr/lib64) to point to the Qt libraries the SDK provides, or add aqt.conffile containing the path in your/etc/ld.conf.so.d/directory and runldconfigas root.I’m an openSUSE user myself, so some of the above may slightly different on Debian, hopefully someone with Debian experience can chime in if I’m incorrect.