Hi Micheal.

I think that you need to add to your compile command:

g++ -o test -I$KDEDIR/include -I$DIRQT/include and so on...

Here's a link I think that's helpful:
http://developer.kde.org/documentation/tutorials/khello/khello.htm

The typical "hello world" program but lists to compiler options

Shane


Michael Buckley wrote:

> Hi all,
>  I've been learning qt, and I'm running into compile problems. When I try to compile 
> my programs ( g++ -o test qtDialog.cpp ) I recieve errors that the header files 
> cannot be found (qapplication.h and others). I've installed qt, but I'm not sure 
> about how to include the qt files in the path that g++ searches.
>
> Thanks,
> Mike
> --
> ______________________________________________
> http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr
>
> Powered by Outblaze

Reply via email to