tools/drawMapTest/main.cpp
author Wuzzy <Wuzzy2@mail.ru>
Thu, 19 Apr 2018 15:48:00 +0200
changeset 13339 450e37b2b4d4
parent 4425 2314bb0c433d
permissions -rw-r--r--
Fix incorrect check for iPhone macro in hwconsts.h TARGET_OS_IPHONE is always defined when building on Mac OS, so the define was wrong. This macro expands to either 0 or 1, so a simple #if should be enough.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4425
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     1
#include <QtGui/QApplication>
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     2
#include "mainwindow.h"
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     3
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     4
int main(int argc, char *argv[])
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     5
{
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     6
    QApplication a(argc, argv);
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     7
    MainWindow w;
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     8
    w.show();
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     9
    return a.exec();
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
    10
}