diff options
author | q5sys <jt@obs-sec.com> | 2017-07-18 18:09:10 -0400 |
---|---|---|
committer | q5sys <jt@obs-sec.com> | 2017-07-18 18:09:10 -0400 |
commit | 967c1264dc18609a4326c8a0bdb60d1599c27416 (patch) | |
tree | 16872920ad79f47f566d8e522adf7d3407609496 /src-qt5/core/lumina-theme-engine | |
parent | update to .desktop file (diff) | |
download | lumina-967c1264dc18609a4326c8a0bdb60d1599c27416.tar.gz lumina-967c1264dc18609a4326c8a0bdb60d1599c27416.tar.bz2 lumina-967c1264dc18609a4326c8a0bdb60d1599c27416.zip |
update to main .pro file
Diffstat (limited to 'src-qt5/core/lumina-theme-engine')
-rw-r--r-- | src-qt5/core/lumina-theme-engine/lthemeengine.pro | 38 |
1 files changed, 32 insertions, 6 deletions
diff --git a/src-qt5/core/lumina-theme-engine/lthemeengine.pro b/src-qt5/core/lumina-theme-engine/lthemeengine.pro index 2b2b34b0..d8ba709e 100644 --- a/src-qt5/core/lumina-theme-engine/lthemeengine.pro +++ b/src-qt5/core/lumina-theme-engine/lthemeengine.pro @@ -1,3 +1,28 @@ +QT += core gui +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras network + +QMAKE_DISTCLEAN += -r .build + +CONFIG += c++11 + +desktop.files=src/lthemeengine/ltheme.desktop +desktop.path=$${L_SHAREDIR}/applications/ + +#Install paths +unix { + isEmpty(PREFIX) { + PREFIX = /usr + } + isEmpty(PLUGINDIR) { + PLUGINDIR = $$[QT_INSTALL_PLUGINS] + } + + BINDIR = $$PREFIX/bin + DATADIR = $$PREFIX/share + + DEFINES += LTHEMEENGINE_DATADIR=\\\"$$DATADIR\\\" +} + TEMPLATE = subdirs SUBDIRS += src/lthemeengine-qtplugin src/lthemeengine-style src/lthemeengine @@ -11,7 +36,6 @@ LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease-qt5 } - isEmpty(LRELEASE_EXECUTABLE){ error(Could not find lrelease executable) } @@ -19,13 +43,15 @@ else { message(Found lrelease executable: $$LRELEASE_EXECUTABLE) } -message(generating translations) -unix:system(find . -name *.ts | xargs $$LRELEASE_EXECUTABLE) - -include(lthemeengine.pri) - message (PREFIX=$$PREFIX) message (BINDIR=$$BINDIR) message (DATADIR=$$DATADIR) message (PLUGINDIR=$$PLUGINDIR) equals (DISABLE_WIDGETS,1):message ("QtWidgets are disabled!") + +#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 + |