Oh and another thing:

g++ -c -I$KDEDIR/include -I$QTDIR/include -fno-rtti yourtest.cc
g++ -L$KDEDIR/lib -L$QTDIR/lib -lkdeui -lkdecore -lqt -ldl -o khello khello.o

The second line I think is 'linking'

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