You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.cpp 367 B

12345678910111213
  1. #include <QtWidgets/QApplication>
  2. #include "GeneralTesting.h"
  3. #include "Singleton.h"
  4. int main(int argc, char* argv[])
  5. {
  6. QApplication a(argc, argv);
  7. // 获取exe文件路径
  8. Singleton::CreateInstance()->setExePath(a.applicationDirPath());
  9. GeneralTesting* m_pGeneralTesting = new GeneralTesting();
  10. m_pGeneralTesting->show();
  11. return a.exec();
  12. }