Bug in Creator 2.2 (When 2 version of qt)
-
wrote on 29 Mar 2011, 23:19 last edited by
When there on the same computer 2 vesions of Qt, for example, 4.7.1 and 4.7.2, it's failing with the message that compilers and run with not iqual version.
Is it possible fix this?
Thks.Hugs.
-
wrote on 29 Mar 2011, 23:26 last edited by
wich OS?
-
wrote on 29 Mar 2011, 23:35 last edited by
Fedora 14 x32
-
wrote on 29 Mar 2011, 23:42 last edited by
Your depending $ENV isnt set right,
you can solve it by adding a little script wich changes the depending $env by starting with a version.Edit:
i dont think its a bug
Edit 2:
Is there a reason why you want to use 2 versions? -
wrote on 30 Mar 2011, 00:00 last edited by
For me appear a bug, but if not, no problem, is better, hehe.
My system has come with 4.7.1 installed and I installed 4.7.2 because it's newer, but no problem uninstall 4.7.1, how fix this?
Thks.
-
wrote on 30 Mar 2011, 00:17 last edited by
You can:
-
just remove the 4.7.1 version:
http://www.ehow.co.uk/how_6806950_uninstall-programs-fedora.html -
Install 1 version in a chrooted envirement.
-
add a litlle script to change your envirement when startup a version
-
change your build envirement in the tab "projects" between "debug" and "help"
-
-
wrote on 30 Mar 2011, 06:16 last edited by
Creator works fine with several Qt versions installed (I have about 20!), so that should not be your issue.
What does the tooltip you get when hovering the Qt versions in Tools->Options->Qt give you?
Do you have compilers for the different versions set up (Check in Tools->Options->Tool Chains). The compiler's ABI needs to match up with the one in the tooltip of the Qt version. -
wrote on 30 Mar 2011, 06:19 last edited by
I have up to 3 different versions of Qt installed. It's easier to use qt.conf. Put the qt.conf in the same directory of your binary and set the desired Qt env in the qt.conf, see "here":http://doc.trolltech.com/4.7/qt-conf.html .
-
wrote on 30 Mar 2011, 10:49 last edited by
Scylla: That is completely unnecessary, at least for qmake based projects.
-
wrote on 30 Mar 2011, 15:36 last edited by
bq. Scylla: That is completely unnecessary, at least for qmake based projects.
It's unnecessary it you start the app from the QtCreator but necessary if you start the app without QtCreator, isn't it?
-
wrote on 30 Mar 2011, 18:00 last edited by
Setting PATH in windows or LD_LIBRARY_PATH anywhere else should suffice.
Qt needs to be picked up by the linker and that does not care about qt.conf in any way. Using qt.conf might help you if the wrong plugins to Qt are picked up, but Qt usually is smart enough to find its own plugins:-)
-
wrote on 30 Mar 2011, 19:28 last edited by
Ok, so How fix my problem? What's better solution?
Thks.
-
wrote on 30 Mar 2011, 19:55 last edited by
Did you try one of our suggestions?
set envirement right
-
wrote on 31 Mar 2011, 06:48 last edited by
jeanrl: Sorry, you do not provide enough information for me to actually help.
What Qt versions are those? Are the Qt versions set up properly? What is the error message? What are you actually doing?
-
wrote on 31 Mar 2011, 11:42 last edited by
Ok, in first time thanks very mouch for your attentation :)
To make sure I uninstalled and installed again with the only difference that before when I was giving problem, I installed as root and hence the /opt directory, now installed as normal user, and consequently in the directory /home and "voula" not happened more problem.
I will test more, if appear more problems I report here, again thanks for all by your attention.
Hugs. -
wrote on 31 Mar 2011, 17:41 last edited by
jeanrl: Please do not report here but open bug reports in the "bug tracker":http://bugreports.qt.nokia.com/. Developers stumble over issues reported here by chance only!
-
wrote on 1 Apr 2011, 01:21 last edited by
Ok, no problems.
1/17