tools/templates/main.cpp
author unc0rr
Fri, 17 Apr 2009 17:01:58 +0000
changeset 1999 a28dcfe658e3
parent 359 59fbfc65fbda
permissions -rw-r--r--
Commit part of koda's patch which applies cleanly: - added libSDLmain.a in library generation - Info.plist now is automatically generated - completed iphone variant
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
359
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     1
#include <QApplication>
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     2
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     3
#include "mainform.h"
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     4
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     5
int main(int argc, char *argv[])
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     6
{
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     7
    QApplication app(argc, argv);
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     8
    MyWindow *mainWin = new MyWindow;
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     9
    mainWin->show();
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
    10
    return app.exec();
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
    11
}