[Qt-interest] compilation problem
Samira Chaouki
samira.chaouki at atego.com
Wed Jul 21 09:30:30 CEST 2010
Hi,
I have this error when I'm trying to compile a simple hello world program
g++ -Wl,-O1 -o hello main.o -L/usr/lib -lQtGui -lQtCore -lpthread
/usr/bin/ld: cannot find -lQtGui
collect2: ld returned 1 exit status
make: *** [hello] Erreur 1
the variable LD_LIBRARY_PATH is ok but I don't understand why it can't find the lib.
Regards,
Samira.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100721/4b652387/attachment.html
More information about the Qt-interest-old
mailing list