晕死了,写了个helloqt也报错
#include "helloqt.h"
#include <QtGui>
#include <QApplication>
#include <vector>
int main(int argc, char *argv[]) {
QApplication a(argc, argv);
vector<int> v;
QLabel* label = new QLabel(
"<h2><i>Hello</i><font color=red>Qt!</font></h2>");
label->show();
return a.exec();
}
还是调用的这一行, vector<int> v;时候出错