Hi, all:

Environment:
OS: Ubuntu 12.04
Qt: Qt Creator 2.4.1
Based on Qt 4.8.0 (32 bit)

Built on Mar 21 2012 at 23:05:03


As titled:
After having created a plain C++ project, with a default Hello World in main.cpp
Qt Code:
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. cout << "Hello World!" << endl;
  8. return 0;
  9. }
To copy to clipboard, switch view to plain text mode 

It's so strange that I'm not able to debug/run this application after building.
The .pro file is as simple as:
Qt Code:
  1. TEMPLATE = app
  2. CONFIG += console
  3. CONFIG -= qt
  4.  
  5. SOURCES += main.cpp
To copy to clipboard, switch view to plain text mode 

Whenever I tried to run it from within Qt Creator IDE, a Terminal jumped out and the program hangs on the screen and the program is not able to run at all. Did anybody else meet the same problem?

cheers
Pei