[Qt-creator] run always starts build process, no application started

Matthias Pospiech matthias.pospiech at gmx.de
Wed Feb 11 22:39:37 CET 2009


I have created a demo console project:

#include <iostream>

int main(int argc, char *argv[])

{

int dummy;

std::cout << "Enter Value: ";

std::cin >> dummy;

return 0;

}


with


QT -= gui

TARGET = QtHeideConsole

CONFIG += console

CONFIG -= app_bundle

TEMPLATE = app

SOURCES += main.cpp


The binaries created are ok, I can start them manually, and they do what 
is expected.
However if I call run (CTRL + R) then I always get a build step:


Running build steps for project QtHeideConsole...

Creating gdb macros library...

QMAKESPEC set to win32-msvc2005 overrides mkspec of selected qt win32-g++

Configuration unchanged, skipping QMake step.

Starting: C:/Programme/Qt/QtCreator/mingw/bin/mingw32-make.exe debug -w

mingw32-make: Entering directory 
`H:/Dev/CPP/SVN/repository/Cpp/Examples/QtHeideConsole'

C:/Programme/Qt/QtCreator/mingw/bin/mingw32-make -f Makefile.Debug

mingw32-make[1]: Entering directory 
`H:/Dev/CPP/SVN/repository/Cpp/Examples/QtHeideConsole'

mingw32-make[1]: Nothing to be done for `first'.

mingw32-make[1]: Leaving directory 
`H:/Dev/CPP/SVN/repository/Cpp/Examples/QtHeideConsole'

mingw32-make: Leaving directory 
`H:/Dev/CPP/SVN/repository/Cpp/Examples/QtHeideConsole'

Exited with code 0.


And the application never starts, or if, it quits directly.


What is going on here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090211/f21be511/attachment.html 


More information about the Qt-creator-old mailing list