tools/templates/main.cpp
author nemo
Thu, 20 Apr 2017 11:22:29 -0400
changeset 12294 0deabf747b8f
parent 359 59fbfc65fbda
permissions -rw-r--r--
For testing purposes, drop tointeger and pushint since Lua uses ptrdiff causing inconsistent behaviour if we try to get a longword value from tointeger on 64 bit vs 32bit. This should improve script reliability a bit

#include <QApplication>

#include "mainform.h"

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