tools/templates/main.cpp
author koda
Thu, 20 Dec 2012 23:12:18 +0100
changeset 8316 89232b2fa1d6
parent 359 59fbfc65fbda
permissions -rw-r--r--
cmake rework, cleanup a lot of redundant sections, separate library and binary install location, unify osx and win handling of the data directory (tested on win, lin and mac)
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
}