src/src.pro

Sun, 11 Aug 2013 13:33:57 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 11 Aug 2013 13:33:57 +0300
changeset 16
a8c78391e414
parent 15
3d3e5f0fc4cc
child 19
c9b6dd9dd4cd
permissions
-rw-r--r--

Only add 'widgets' to QT in the project file in Qt5 - Qt4 doesn't have it and using it results in a warning.

0
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
1 TARGET = ../zandemo
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
2 DEPENDPATH += .
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
3 INCLUDEPATH += .
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
4 # RC_FILE = ../ldforge.rc
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
5 # RESOURCES = ../ldforge.qrc
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
6 RCC_DIR = ./build/
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
7 OBJECTS_DIR = ./build/
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
8 MOC_DIR = ./build/
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
9 RCC_DIR = ./build/
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
10 SOURCES = *.cpp
bb264814dd81 Initial commit
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
11 HEADERS = *.h
1
c9b22c06307c Done config box base
Teemu Piippo <crimsondusk64@gmail.com>
parents: 0
diff changeset
12 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
13 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
14
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 # 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
16 # 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
17 greaterThan (QT_MAJOR_VERSION, 4): QT += widgets

mercurial