aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/qt5ct.pri
blob: c9fe0cb75d9555886637c182ccd31dea53dab7d1 (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
33
#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
QMAKE_DISTCLEAN += translations/*.qm

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 += QT5CT_DATADIR=\\\"$$DATADIR\\\"
}
bgstack15