tools/templates/main.cpp
author koda
Thu, 21 Apr 2016 00:10:23 -0400
changeset 11657 ae6706411b24
parent 359 59fbfc65fbda
permissions -rw-r--r--
Hijack SDL2 and GLEW include and library when compiling to javascript emscripten already provides the SDL2 suite and will simply ignore missing libraries.

#include <QApplication>

#include "mainform.h"

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