#include <QCoreApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
qDebug() << "hello";
return a.exec();
}
这个基本应用程序在QtCreator 2.6.2中构建和运行时无法工作。我正在使用Qt 5.0.1。
甚至我的程序都无法运行,唯一运行的是qcreator_process_stub.exe。在我的.pro文件中,有CONFIG += console这一行,在我的.pro.user文件中,UseTerminal被设置为true。
但我的问题是为什么我的程序没有显示出来,qcreator_process_stub.exe是什么?
编辑:标准输出甚至都没有显示。