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