PDA

View Full Version : Cannot mix incompatible Qt library



hubipet
5th October 2011, 07:28
Hello everyone,

I use Qt SDK with QT 4.7.3 on Suse Linux 11.4.
When I create a GUI Project it compiles with no errors but if i try to run
the application I get the following error:
Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)
even if I start it inside the creator.

What can I do to start the application.

Regards
hubipet

Jonny174
5th October 2011, 09:23
Delete old version Qt.

woodtluk
5th October 2011, 16:55
You might have both libraries in your path (LD_LIBRARY_PATH). And somehow they get mixed up.
Remove the older version at least from the path. Or delete it comletely.

jmarianek
13th October 2011, 10:18
Hi, you have wrong configuration in you Project settings.
Go to Projects and in tab Build Settings > General > Qt version add your qt library.
Then manually edit other parts. Do not forget remove conflict paths from LD_LIBRARY_PATH, QTXXX etc.

tiho_d
13th February 2012, 20:03
Your error could be also connected to this probem in Qt Creator: http://labs.qt.nokia.com/2011/10/28/rpath-and-runpath/