[Qt-creator] Simple example not working

markc at renta.net markc at renta.net
Tue Nov 25 14:16:59 CET 2008


I'm using qtcreator 25-11-2008 linux/x86_64 with qt-snapshot
and trying to compile a simple example but getting this... 

% cat clock.pro
#-------------------------------------------------
#
# Project created by QtCreator 2008-11-25T22:58:23
#
#------------------------------------------------- 

QT       -= gui 

TARGET = clock
CONFIG   += console
CONFIG   -= app_bundle 

TEMPLATE = app 


SOURCES += main.cpp 

% cat main.cpp
#include <QtCore/QCoreApplication> 

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv); 

    return a.exec();
} 


Running build steps for project clock...
Starting: /usr/bin/qmake 
/home/sources/eth-os/eth-os/gui/qwm/src/qwm/clock/clock.pro -spec 
/usr/share/qt/mkspecs/linux-g++ -r
Exited with code 0.
Starting: /usr/bin/make debug -w
make: *** No rule to make target `debug'. Stop.
make: Entering directory `/home/sources/eth-os/eth-os/gui/qwm/src/qwm/clock'
make: Leaving directory `/home/sources/eth-os/eth-os/gui/qwm/src/qwm/clock'
Exited with code 2.
Error while building project clock
When executing build step 'Make' 

Am I missing something basic or is qtcreator at fault? 

 --markc



More information about the Qt-creator-old mailing list