确实是带有mingw4.7,应该安装好了,就可以用了,不需要配置。
楼主可以新建一个GUI程序进行编译测试。
Qt5的hello,共两个文件:
hello.pro
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TEMPLATE = app
TARGET = hello
DEPENDPATH += .
INCLUDEPATH += .
# Input
SOURCES += hello.cpp
hello.cpp
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QLabel label;
label.setText("Hello Qt!");
label.show();
return a.exec();
}