Sun, 08 Sep 2013 19:56:11 +0300
Added a version data editor
20
a5457405cc9b
Use the cfg:: namespace system I made up a while ago instead of using QSettings directly, it's unsafe
Teemu Piippo <crimsondusk64@gmail.com>
parents:
19
diff
changeset
|
1 | CONFIG += qt debug |
0 | 2 | TARGET = ../zandemo |
3 | DEPENDPATH += . | |
4 | INCLUDEPATH += . | |
19
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
16
diff
changeset
|
5 | RC_FILE = ../zandemo.rc |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
16
diff
changeset
|
6 | RESOURCES = ../zandemo.qrc |
0 | 7 | RCC_DIR = ./build/ |
8 | OBJECTS_DIR = ./build/ | |
9 | MOC_DIR = ./build/ | |
10 | RCC_DIR = ./build/ | |
11 | SOURCES = *.cpp | |
12 | HEADERS = *.h | |
1 | 13 | FORMS = ui/*.ui |
16
a8c78391e414
Only add 'widgets' to QT in the project file in Qt5 - Qt4 doesn't have it and using it results in a warning.
Teemu Piippo <crimsondusk64@gmail.com>
parents:
15
diff
changeset
|
14 | QMAKE_CXXFLAGS += -std=c++0x |
a8c78391e414
Only add 'widgets' to QT in the project file in Qt5 - Qt4 doesn't have it and using it results in a warning.
Teemu Piippo <crimsondusk64@gmail.com>
parents:
15
diff
changeset
|
15 | |
a8c78391e414
Only add 'widgets' to QT in the project file in Qt5 - Qt4 doesn't have it and using it results in a warning.
Teemu Piippo <crimsondusk64@gmail.com>
parents:
15
diff
changeset
|
16 | # The widgets are separated into a different module in Qt5, so we need to add |
a8c78391e414
Only add 'widgets' to QT in the project file in Qt5 - Qt4 doesn't have it and using it results in a warning.
Teemu Piippo <crimsondusk64@gmail.com>
parents:
15
diff
changeset
|
17 | # it here. Doing so under Qt4 just results in a warning, though. |
a8c78391e414
Only add 'widgets' to QT in the project file in Qt5 - Qt4 doesn't have it and using it results in a warning.
Teemu Piippo <crimsondusk64@gmail.com>
parents:
15
diff
changeset
|
18 | greaterThan (QT_MAJOR_VERSION, 4): QT += widgets |