[Bug 51357] qt application template does not compile

sschmidt at physik.uni-bremen.de sschmidt at physik.uni-bremen.de
Wed Dec 4 19:34:02 UTC 2002


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=51357     




------- Additional Comments From sschmidt at physik.uni-bremen.de  2002-12-04 19:32 -------
Subject: Re:  qt application template does not compile

Caleb Tennis wrote:

>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>     
>http://bugs.kde.org/show_bug.cgi?id=51357     
>
>
>
>
>------- Additional Comments From caleb at aei-tech.com  2002-12-04 18:48 -------
>Try doing this: 
> 
>QTDIR=/usr/lib/qt3 && /usr/lib/qt3/bin/qmake 
> 
>Change that to whatever dir that qt is installed to.
>
>
>  
>
I tried it and it compiled but it couldn't find the qt-library:

cd /home/sschmidt/Desktop/Trash/testqt && gmake -k
 cd src && gmake -f Makefile
 gmake[1]: Wechsel in das Verzeichnis 
»/home/sschmidt/Desktop/Trash/testqt/src«
 g++ -o src testqt.o main.o moc_testqt.o -Wl,-rpath,/usr/lib/qt3/lib 
-L/usr/lib/qt3/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
 /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: 
cannot find -lqt
 collect2: ld returned 1 exit status
 gmake[1]: *** [src] Fehler 1
 gmake[1]: Das Target »first« wurde wegen Fehlern nicht aktualisiert.
 gmake[1]: Verlassen des Verzeichnisses 
»/home/sschmidt/Desktop/Trash/testqt/src«
 gmake: *** [sub-src] Fehler 2
 gmake: Das Target »first« wurde wegen Fehlern nicht aktualisiert.
 *** Exited with status: 2 ***




More information about the KDevelop-devel mailing list