tools/templates/main.cpp
author nemo
Tue, 24 Oct 2017 14:14:00 -0400
changeset 12753 327f71313e04
parent 359 59fbfc65fbda
permissions -rw-r--r--
this should probably sidestep that thing unc0rr keeps bringing up. untested. but then, I've never had it happen. I think what happens is onGameTick20 is called in same tick as onNewTurn and before it...

#include <QApplication>

#include "mainform.h"

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