I have a project in qt-creator.
that computer have Qt: 4.8.2
one of the computers i want to run the application on have Qt: 4.6.2
I can see that qt-creator have an option under the project for QtVersions,
but i only got one option there "Qt 4.8.1 (System)"
Id like to have Qt 4.6.x as an option there too, how do i add/install that?
Target computer:
kde4-config --version
Qt: 4.6.2
KDE Development Platform: 4.4.2 (KDE 4.4.2)
kde4-config: 1.0
uname -a
Linux fw-01 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 i686 GNU/Linux
Build computer:
kde4-config --version
Qt: 4.8.2
KDE Development Platform: 4.8.5 (4.8.5)
kde4-config: 1.0
uname -a
Linux rito 3.3.8-gentoo #3 SMP Thu Sep 13 10:11:22 CEST 2012 i686 AMD Athlon(tm) II X2 245 Processor AuthenticAMD GNU/Linux
As the SDK doesn't support the old versions anymore, you will have to compile the libraries from source. The archive FTP site has the version you want.
Though I should point out that as long as you are linking dynamically and your code base doesn't use features post-v4.6.2 - then it will work as expected. If you are, then compiling using v4.6.2 headers isn't going to change anything - you will still have to upgrade the other computer or remove the newer Qt features from your application.