2017-07-13 10:26:03 +02:00
|
|
|
/*
|
|
|
|
* main.cpp, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
2017-01-17 13:17:37 +02:00
|
|
|
#include <QApplication>
|
2013-08-22 20:47:49 +03:00
|
|
|
#include "StdInc.h"
|
2013-08-24 23:11:51 +03:00
|
|
|
#include "mainwindow_moc.h"
|
2022-08-05 13:32:29 +02:00
|
|
|
#include "main.h"
|
2013-08-22 17:22:49 +03:00
|
|
|
|
2017-08-09 00:09:29 +02:00
|
|
|
int main(int argc, char * argv[])
|
2013-08-22 17:22:49 +03:00
|
|
|
{
|
2017-01-17 13:17:37 +02:00
|
|
|
QApplication vcmilauncher(argc, argv);
|
2017-08-24 03:52:02 +02:00
|
|
|
MainWindow mainWindow;
|
2017-01-17 13:17:37 +02:00
|
|
|
mainWindow.show();
|
2022-08-05 13:32:29 +02:00
|
|
|
#ifdef Q_OS_IOS
|
|
|
|
showQtWindow();
|
|
|
|
#endif
|
2017-01-17 13:17:37 +02:00
|
|
|
return vcmilauncher.exec();
|
2013-08-22 17:22:49 +03:00
|
|
|
}
|