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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user