aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/lthemeengine.pri
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-03 10:48:19 -0400
committerKen Moore <ken@ixsystems.com>2017-08-03 14:04:05 -0400
commit8687a43803e0d5937ff5213ab987b05866498362 (patch)
tree5db21f221f37bb6f8fde8d2f2ffdb782471944cd /src-qt5/core/lumina-theme-engine/lthemeengine.pri
parentMerge branch 'master' of http://github.com/trueos/lumina (diff)
downloadlumina-8687a43803e0d5937ff5213ab987b05866498362.tar.gz
lumina-8687a43803e0d5937ff5213ab987b05866498362.tar.bz2
lumina-8687a43803e0d5937ff5213ab987b05866498362.zip
Cleanup the lumina-theme-engine subproject
1. Use the built-in OS-detect.pri for build settings 2. Remove the "DISABLE_WIDGETS" flag (desktop always needs it) 3. Clean up the multi-path search routines for qss/color files 4. Add some color files to the default install
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/lthemeengine.pri')
-rw-r--r--src-qt5/core/lumina-theme-engine/lthemeengine.pri29
1 files changed, 8 insertions, 21 deletions
diff --git a/src-qt5/core/lumina-theme-engine/lthemeengine.pri b/src-qt5/core/lumina-theme-engine/lthemeengine.pri
index aa8a58bb..40202045 100644
--- a/src-qt5/core/lumina-theme-engine/lthemeengine.pri
+++ b/src-qt5/core/lumina-theme-engine/lthemeengine.pri
@@ -1,24 +1,11 @@
-#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
+QT *= core gui widgets x11extras network
+!isEqual (QT_MAJOR_VERSION, 5) {
+ error("Use Qt 5.4.0 or higher.")
+}
+include(../../OS-detect.pri)
-CONFIG += c++11
+CONFIG *= c++11
#Install paths
-unix {
- isEmpty(PREFIX) {
- PREFIX = /usr/local/
- }
- isEmpty(PLUGINDIR) {
- PLUGINDIR = $$[QT_INSTALL_PLUGINS]
- }
-
- BINDIR = $$PREFIX/bin
- DATADIR = $$PREFIX/share
-
- DEFINES += LTHEMEENGINE_DATADIR=\\\"$$DATADIR\\\"
-}
+ PLUGINDIR = $${DISTDIR}$$[QT_INSTALL_PLUGINS]
+ DEFINES += LTHEMEENGINE_DATADIR=\\\"$$L_SHAREDIR\\\"
bgstack15