[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling QT program



tvn1981 wrote:
^^^^^^^
	Do you have a real name? Please put in in the apprporiate
	field of your mail reader...

> I have problem compiling qt apps with the Debian's libqt3-dev package.
> I have this error 
> g++ -lqt test.cc
g++ -I/usr/include/qt -lqt test.cc

You have not set the include path, he does not know where he can find
Qt's headers.

> test.cpp:5: qapplication.h: No such file or directory
> test.cpp:6: qwidget.h: No such file or directory
> test.cpp:7: qpushbutton.h: No such file or directory

cc or cpp?

> I have tried to add this dir to /etc/ld.so.con and run ldcdonf but no
> help. 

This won't work because /etc/ld.so.conf is for _libraries_ (.a / .so)
and not for headers...

HTH

Regards,

Rene


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: