Cannot mix incompatible Qt library
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
Re: Cannot mix incompatible Qt library
Re: Cannot mix incompatible Qt library
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.
Re: Cannot mix incompatible Qt library
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.
Re: Cannot mix incompatible Qt library
Your error could be also connected to this probem in Qt Creator: http://labs.qt.nokia.com/2011/10/28/rpath-and-runpath/