注册 登录
编程论坛 QT论坛

ubuntu系统下qmake出错: Extra characters after test expression求高手指教

ljx946039787 发布于 2015-10-12 16:16, 3915 次点击
  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
小弟新人,望指教
1 回复
1