[Qt-creator] FW: Cannot mix incompatible Qt libraries
Daniel Teske
daniel.teske at nokia.com
Mon Feb 16 16:16:38 CET 2009
On Monday 16 February 2009 16:06:46 ext Bryan Greenway wrote:
> libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0xb800c000)
> ? ? ? ? ? ? ? ? libQtXml.so.4 => /usr/local/lib/libQtXml.so.4 (0xb7fd9000)
> ? ? ? ? ? ? ? ? libQtGui.so.4 => /usr/local/lib/libQtGui.so.4 (0xb788d000)
You have a qt installed both inside /usr/local and /usr, which is rather
strange. The problem seems to be that the qt versions from /usr/local and /usr
are incompatible to each other. The qt inside /usr is most likely from your
distributation, while /usr/local is likely a source qt install that you
installed yourself. Could you go to your compile outputwindow and paste the
linker line? That's the one which starts with "g++ -Wl,-z,origin" and is one
the last line of your compilation.
And could you list all libQt*.so in both /usr/lib and /usr/local?
daniel
More information about the Qt-creator-old
mailing list