PDA

View Full Version : Deploying QT applications



SteM
6th June 2007, 09:43
Hi all,
i developed an application with QT4.
I put the application on a Linux system having QT3.3: of course i receive an error of missing libraries .so.4.
I put the required libraries in /usr/local/Trolltech/Qt-4.2.3/lib, i changed and exported QTLIB variable but the application doesn't see them.
I put the libraries on /usr/lib/qt-3.3/lib and again the libraries are not seen!
Only if i put them on /usr/lib, they are seen!

Where is the error(s)? :crying:

Thanks!!!!

high_flyer
6th June 2007, 10:00
you should set LD_LIBRARY_PATH and PATH.

SteM
6th June 2007, 10:06
Thanks a lot :)

So, QTLIB is used only on the 'compiling' side ?

Thanks again !

high_flyer
6th June 2007, 10:08
I don't know what QTLIB variable is, I don't use it, as far as I know, its nothing that Qt needs.