[Qt-interest] symbol lookup error on execution, Linux

Thiago Macieira thiago.macieira at trolltech.com
Mon Feb 23 18:58:02 CET 2009


Em Segunda-feira 23 Fevereiro 2009, às 17:54:01, Nikos Geronitidis escreveu:
> Hello Qt
>
> My application can be executed without a problem on my Mandriva laptop,
> where also the development has been done.. but
> when I am trying to execute this application in a different Mandriva Linux
> machine, there is an error produced :
>
> *symbol lookup error: ./WaterAnalystInterface: undefined symbol:
> _ZNK10QBoxLayout7stretchEi*

This symbol was added in Qt 4.5. That means you built your application for use 
with Qt 4.5, but you're running it against Qt 4.4 or earlier.

That cannot work.

You have to either upgrade all your machines to use Qt 4.5 or you must compile 
your application with an earlier version of Qt. (You don't have to downgrade 
the system Qt for that. Technically speaking, you don't even need to compile 
Qt 4.4: you just need its headers and you can link against the Qt 4.5 
libraries)

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
     Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090223/3f68351b/attachment.bin 


More information about the Qt-interest-old mailing list