ubuntu系统下qmake出错: Extra characters after test expression求高手指教
1 #include<QApplication>2 #include<QDialog>
3
4 int main(int argc,char** argv)
5 {
6 QApplication app(argc,argv);
7
8 QDialog dlg;
9 dlg.setVisible(true);
10
11 return app.exec();
12 }
ljx@ljx-ThinkPad-E420:~/2010/613/exam01$ qmake main.cpp
/home/ljx/2010/613/exam01/main.cpp:4: Extra characters after test expression.
/home/ljx/2010/613/exam01/main.cpp:6: Extra characters after test expression.
/home/ljx/2010/613/exam01/main.cpp:8: Extra characters after test expression.
/home/ljx/2010/613/exam01/main.cpp:11: Extra characters after test expression.
Error processing project file: main.cpp
小弟新人,望指教