blob: be67734b43626ffb3d065ba103f4c9e999d95b40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#Some conf to redirect intermediate stuff in separate dirs
UI_DIR=./.build/ui/
MOC_DIR=./.build/moc/
OBJECTS_DIR=./.build/obj
RCC_DIR=./.build/rcc
QMAKE_DISTCLEAN += -r .build
CONFIG += c++11
!isEqual (QT_MAJOR_VERSION, 5) {
error("Use Qt 5.4.0 or higher.")
}
!greaterThan(QT_MINOR_VERSION, 3) {
error("Use Qt 5.4.0 or higher.")
}
#Install paths
unix {
isEmpty(PREFIX) {
PREFIX = /usr
}
isEmpty(PLUGINDIR) {
PLUGINDIR = $$[QT_INSTALL_PLUGINS]
}
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share
DEFINES += LTHEMEENGINE_DATADIR=\\\"$$DATADIR\\\"
}
|