Multiple Qt versions installation issue
-
Just make sure you do not install the new Qt into the same place as the old one and make sure to use the qmake from the Qt version you want to actually use when running the qmake step (by setting the path or providing the full path to qmake).
-
If you use the package manager, it's very likely that you just replace the version. A distribution of a particular version usually has only one Qt4 version. A newer version would be only available on some manually to configure repositories.
You can avoid the hassles by manually compiling Qt. It installs itself in /usr/local/Trolltech/Qt-x.y.z by default and does not interfere with the distribution's version.
-
Volker:
Thanks.
I tried doing update (using the update button click) via package manager, but when I looked
at Qt version in Creator, it is still 4.6.
How do you update to a new version via update manager?For Qt version 4.7, the dialog window came up with a default suggestion install folder: \home\myaccountname\qtsdk.
I tried to install it into \usr, but it kept telling about erasing entire directory or something like thatSo I ended up installing it in its suggested directory.
-
I never used the package manager to switch to a non-default Qt version And I do not recommend this, it may break some other applications depending on that version of Qt.
I also never used the SDK for pulling new Qt version. Actually, I'm not using the SDK at all - I just startet Qt development long before that saw the light and I'm too lazy to switch settings and all that.
Usually, the default paths are quite sane. I generally tend to use those (not only for Qt).