PDA

View Full Version : Qt library version probelm



hosseinyounesi
28th July 2009, 18:06
Hi
I write a program with Qt (4.5.0) and now I want to run it on another system. Qt is installed there but the older version(4.3.1) there is a hard link file (libQtCore.so.4) to the libQtCore.4.3.1.

What Can I do? Is there any LIB path in linux to do that? Placing the 4.5.0 library beside my bin file didn't work.

Thank you everyone

Lykurg
28th July 2009, 19:19
Say he/she should also install qt4.5 beside the older version
Build your application static, if possible (no LGPL!)
place the 4.5 libraries e.g. in /usr/lib

hosseinyounesi
29th July 2009, 14:18
Thank you,
I placed my library into /usr/lib/ and ran ldconfig /usr/lib/

And it worked !!! :D