Compile problems
Ralf Habacker
Ralf.Habacker at freenet.de
Wed Jul 16 17:11:02 CEST 2003
Hi
> >>
> >>
> >>dave at laptop ~
> >>$ gcc -lqt -L /usr/local/lib/qt2/lib -I /usr/local/lib/qt2/include hello.cpp
> >>
> >>
> >>
> >QT is linked with g++-2, so you should use it.
> >
> >g++-2 -lqt -L /usr/local/lib/qt2/lib -I /usr/local/lib/qt2/include hello.cpp
> >
libraries are only used, if there are requested symbols.
try
g++-2 -L /usr/local/lib/qt2/lib -I /usr/local/lib/qt2/include hello.cpp -lqt
Ralf
More information about the kde-cygwin
mailing list