Summary: | qt application template does not compile | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Sven Schmidt <sschmidt> |
Component: | general | Assignee: | KDevelop-Devel List <kdevelop-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sven Schmidt
2002-11-30 11:52:00 UTC
This means that there is no Makefile in your dir. Which template are you using? Did you run autmake and friends or qmake to generate the Makefiles first? Subject: Re: qt application template does not compile Harald Fernengel 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 >harry@kdevelop.org changed: > > What |Removed |Added >---------------------------------------------------------------------------- > Component|general |gideon > Version|unspecified |CVS > > > >------- Additional Comments From harry@kdevelop.org 2002-12-03 22:06 ------- >This means that there is no Makefile in your dir. Which template are you using? Did >you run autmake and friends or qmake to generate the Makefiles first? > > > > Hi! As I wrote, i was using the qt-application template. gideon asked me to start qmake to build the project. That's all. Regrads, Sven Schmidt So, did you run qmake and did it succeed? Make sure qmake is in your path. After running qmake, you should get a Makefile in your project dir. Subject: Re: qt application template does not compile Harald Fernengel 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 harry@kdevelop.org 2002-12-04 15:23 ------- >So, did you run qmake and did it succeed? Make sure qmake is in your path. After >running qmake, you should get a Makefile in your project dir. > > > > Hi! If I try to run qmake bash tells me that it couldn,t find it. The is that the path to qmake (/usr/lib/qt3/bin) is not in $PATH. But if I change in the project's directory and enter manually qmake testqt.pro, qmake says: QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file: testqt.pro No idea what to do. Thanks, Sven Schmidt Subject: Re: qt application template does not compile Harald Fernengel 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 harry@kdevelop.org 2002-12-04 15:23 ------- >So, did you run qmake and did it succeed? Make sure qmake is in your path. After >running qmake, you should get a Makefile in your project dir. > > > > Hi! If I try to run qmake bash tells me that it couldn,t find it. The is that the path to qmake (/usr/lib/qt3/bin) is not in $PATH. So I did: export PATH=$PATH:/usr/lib/qt3/bin. But if I change in the project's directory and enter manually qmake testqt.pro, qmake says: QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file: testqt.pro No idea what to do. Thanks, Sven Schmidt Read the qmake documentation? add $QTDIR/bin to your path, set QMAKESPEC to "linux-g++" or whatever you are using. Try doing this: QTDIR=/usr/lib/qt3 && /usr/lib/qt3/bin/qmake Change that to whatever dir that qt is installed to. 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@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 Do you have libqt or libqt-mt in your /usr/lib/qt3/lib directory? If you only have libqt-mt, you need to change your .pro file options and add "thread". You can do this in KDevelop's QMake Manager project options settings. Caleb 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@aei-tech.com 2002-12-04 19:45 ------- >Do you have libqt or libqt-mt in your /usr/lib/qt3/lib directory? If you only have libqt-mt, you >need to change your .pro file options and add "thread". You can do this in KDevelop's QMake >Manager project options settings. > >Caleb > > > > Hi! Maybe I'am wrong but there is no qmake-Project-Option setting. But the .pro-file looks like this: SUBDIRS += src TEMPLATE = subdirs CONFIG += release \ warn_on \ qt \ thread And I only habe the mt-version installed but since there is a "thread"-option in the .pro-file it is supposed to work, isn't it? sschmidt@perkuno:/usr/lib/qt3/lib> la insgesamt 6702 drwxr-xr-x 2 root root 448 2002-11-08 16:40 . drwxr-xr-x 10 root root 248 2002-09-10 19:04 .. lrwxrwxrwx 1 root root 18 2002-10-25 16:30 libeditor.so -> libeditor.so.1.0.0 lrwxrwxrwx 1 root root 18 2002-10-25 16:30 libeditor.so.1 -> libeditor.so.1.0.0 lrwxrwxrwx 1 root root 18 2002-10-25 16:30 libeditor.so.1.0 -> libeditor.so.1.0.0 -rwxr-xr-x 1 root root 217768 2002-09-12 21:05 libeditor.so.1.0.0 lrwxrwxrwx 1 root root 17 2002-10-25 16:30 libqt-mt.so -> libqt-mt.so.3.0.5 lrwxrwxrwx 1 root root 17 2002-10-25 15:37 libqt-mt.so.3 -> libqt-mt.so.3.0.5 lrwxrwxrwx 1 root root 17 2002-10-25 15:37 libqt-mt.so.3.0 -> libqt-mt.so.3.0.5 -rwxr-xr-x 1 root root 6431120 2002-10-09 23:34 libqt-mt.so.3.0.5 lrwxrwxrwx 1 root root 15 2002-10-25 16:30 libqui.so -> libqui.so.1.0.0 lrwxrwxrwx 1 root root 15 2002-10-25 16:30 libqui.so.1 -> libqui.so.1.0.0 lrwxrwxrwx 1 root root 15 2002-10-25 16:30 libqui.so.1.0 -> libqui.so.1.0.0 -rwxr-xr-x 1 root root 197024 2002-09-12 21:05 libqui.so.1.0.0 Thanks, Sven S. |