[Qt-interest] compilation problem
Christian Kandeler
christian.kandeler at nokia.com
Wed Jul 21 09:50:52 CEST 2010
On 07/21/2010 09:30 AM, ext Samira Chaouki wrote:
> 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
There are apparently no Qt Gui libraries installed, at least not in
/usr/lib. You can easily verify that yourself.
> the variable LD_LIBRARY_PATH is ok but I don’t understand why it can’t
> find the lib.
LD_LIBRARY_PATH is not relevant at this point.
Christian
More information about the Qt-interest-old
mailing list