main.cpp 504 B

123456789101112131415161718192021222324
  1. /*
  2. * main.cpp, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #include <QApplication>
  11. #include "StdInc.h"
  12. #include "mainwindow_moc.h"
  13. #include "main.h"
  14. int main(int argc, char * argv[])
  15. {
  16. QApplication vcmilauncher(argc, argv);
  17. MainWindow mainWindow;
  18. mainWindow.show();
  19. #ifdef Q_OS_IOS
  20. showQtWindow();
  21. #endif
  22. return vcmilauncher.exec();
  23. }