request for member "..." in "..." which is of non-class type "..."

D:\debug\qt\6\main.cpp:15: error: request for member 'exec' in 'a', which is of non-class type 'QCoreApplication(int, char)'
     return a.exec();
              删掉参数类型

posted @ 2018-08-03 11:16  neo3301  阅读(209)  评论(0编辑  收藏  举报