1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

start app with launcher, start SDL from launcher

kambala-decapitator/vcmi#33
This commit is contained in:
Andrey Filipenkov
2022-08-05 14:32:29 +03:00
parent ba9ace46ad
commit 1e01780d17
11 changed files with 186 additions and 33 deletions

View File

@@ -10,11 +10,15 @@
#include <QApplication>
#include "StdInc.h"
#include "mainwindow_moc.h"
#include "main.h"
int main(int argc, char * argv[])
{
QApplication vcmilauncher(argc, argv);
MainWindow mainWindow;
mainWindow.show();
#ifdef Q_OS_IOS
showQtWindow();
#endif
return vcmilauncher.exec();
}