tools/templates/main.cpp
author Wuzzy <Wuzzy2@mail.ru>
Tue, 17 Jul 2018 20:13:41 +0200
changeset 13500 d9f9e66543d7
parent 359 59fbfc65fbda
permissions -rw-r--r--
Fix frontend showing 2 errors on engine fatal error (exit code 52) The exit code checked in the frontend was a hardcoded 2, which was outdated.

#include <QApplication>

#include "mainform.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    MyWindow *mainWin = new MyWindow;
    mainWin->show();
    return app.exec();
}