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
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
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:
TEMPLATE = app
CONFIG += console
CONFIG -= qt
SOURCES += main.cpp
TEMPLATE = app
CONFIG += console
CONFIG -= qt
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
Bookmarks