7 OBJECTS_DIR = ./build/ |
7 OBJECTS_DIR = ./build/ |
8 MOC_DIR = ./build/ |
8 MOC_DIR = ./build/ |
9 RCC_DIR = ./build/ |
9 RCC_DIR = ./build/ |
10 SOURCES = *.cpp |
10 SOURCES = *.cpp |
11 HEADERS = *.h |
11 HEADERS = *.h |
12 QT += widgets |
|
13 FORMS = ui/*.ui |
12 FORMS = ui/*.ui |
14 QMAKE_CXXFLAGS += -std=c++0x |
13 QMAKE_CXXFLAGS += -std=c++0x |
|
14 |
|
15 # The widgets are separated into a different module in Qt5, so we need to add |
|
16 # it here. Doing so under Qt4 just results in a warning, though. |
|
17 greaterThan (QT_MAJOR_VERSION, 4): QT += widgets |