[Qt-creator] FW: Cannot mix incompatible Qt libraries

Eike Ziller eike.ziller at nokia.com
Mon Feb 16 16:14:49 CET 2009


On Feb 16, 2009, at 4:06 PM, ext Bryan Greenway wrote:

> Oops…sent wrong ldd dump.  Here’s the correct one.
>
> rbgreenway at rbgreenway-laptop:~/Dev/Block1$ ldd Block1
>                 linux-gate.so.1 =>  (0xb8074000)
>                 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)
>                 libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4  
> (0xb778c000)
>                 libQtCore.so.4 => /usr/local/lib/libQtCore.so.4  
> (0xb75c9000)

See the other mail, but libQtSql.so also comes from /usr/lib.

Cheers, Eike

> rbgreenway-laptop:~/Dev/Block1$
>
> From: Bryan Greenway [mailto:rbgreenway at gmail.com]
> Sent: Monday, February 16, 2009 8:58 AM
> To: 'qt-creator at trolltech.com'
> Subject: Cannot mix incompatible Qt libraries
>
> As suggested, I ran an ldd to see the libraries reported used by my  
> program.  Here are the results:
>
>
> rbgreenway at rbgreenway-laptop:~/Dev/tcp$ ldd tcp
>                 linux-gate.so.1 =>  (0xb7fd3000)
>                 libQtGui.so.4 => /usr/local/lib/libQtGui.so.4  
> (0xb785c000)
>                 libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4  
> (0xb775b000)
>                 libQtCore.so.4 => /usr/local/lib/libQtCore.so.4  
> (0xb7597000)
>                 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so. 
> 0 (0xb757e000)
>                 libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7490000)
>                 libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb746a000)
>                 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb745b000)
>                 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb72fd000)
>                 libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb72d6000)
>                 libSM.so.6 => /usr/lib/libSM.so.6 (0xb72cd000)
>                 libICE.so.6 => /usr/lib/libICE.so.6 (0xb72b5000)
>                 libz.so.1 => /usr/lib/libz.so.1 (0xb729f000)
>                 librt.so.1 => /lib/tls/i686/cmov/librt.so.1  
> (0xb7296000)
>                 libXi.so.6 => /usr/lib/libXi.so.6 (0xb728c000)
>                 libXrender.so.1 => /usr/lib/libXrender.so.1  
> (0xb7281000)
>                 libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb727a000)
>                 libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7275000)
>                 libXcursor.so.1 => /usr/lib/libXcursor.so.1  
> (0xb726c000)
>                 libXinerama.so.1 => /usr/lib/libXinerama.so.1  
> (0xb7269000)
>                 libfreetype.so.6 => /usr/lib/libfreetype.so.6  
> (0xb71f3000)
>                 libfontconfig.so.1 => /usr/lib/libfontconfig.so.1  
> (0xb71c5000)
>                 libXext.so.6 => /usr/lib/libXext.so.6 (0xb71b6000)
>                 libX11.so.6 => /usr/lib/libX11.so.6 (0xb70c7000)
>                 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2  
> (0xb70c3000)
>                 /lib/ld-linux.so.2 (0xb7fb9000)
>                 libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb709b000)
>                 libXau.so.6 => /usr/lib/libXau.so.6 (0xb7098000)
>                 libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0  
> (0xb7095000)
>                 libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb707c000)
>                 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7077000)
> rbgreenway at rbgreenway-laptop:~/Dev/tcp$
>
> I’m still getting the “Cannot mix incompatible Qt libraries” fatal  
> error, so I’m guessing that something in the list above is  
> incorrect?  If so, how do I change it?
>
> Thanks,
>
> Bryan
> <ATT00001.txt>

-- 
Eike Ziller
Software Engineer
Nokia, Qt Software
Phone  +49 (0)30 6392 3255
Fax    +49 (0)30 6392 3256
E-mail eike.ziller at nokia.com








More information about the Qt-creator-old mailing list