main.cpp 523 B

12345678910111213141516171819202122
  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 "sdldisplayquery.h"
  14. int main(int argc, char * argv[])
  15. {
  16. QApplication vcmilauncher(argc, argv);
  17. auto displayList = getDisplays();
  18. MainWindow mainWindow(displayList);
  19. mainWindow.show();
  20. return vcmilauncher.exec();
  21. }