diff options
author | Weblate <noreply@weblate.org> | 2017-07-19 18:47:39 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2017-07-19 18:47:39 +0000 |
commit | 86f6fadf45c2b87749cffac82411d2371448da53 (patch) | |
tree | dfc1520b8ae2e59118b8a65d3f9438c1eead6b2c /src-qt5/core/lumina-theme-engine/lthemeengine.pro | |
parent | Add en_GB (diff) | |
parent | Another checkpoint in the compositing saga. Got most of it working, but still... (diff) | |
download | lumina-86f6fadf45c2b87749cffac82411d2371448da53.tar.gz lumina-86f6fadf45c2b87749cffac82411d2371448da53.tar.bz2 lumina-86f6fadf45c2b87749cffac82411d2371448da53.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/lthemeengine.pro')
-rw-r--r-- | src-qt5/core/lumina-theme-engine/lthemeengine.pro | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-theme-engine/lthemeengine.pro b/src-qt5/core/lumina-theme-engine/lthemeengine.pro new file mode 100644 index 00000000..d8ba709e --- /dev/null +++ b/src-qt5/core/lumina-theme-engine/lthemeengine.pro @@ -0,0 +1,57 @@ +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 + +unix:exists($$[QT_INSTALL_BINS]/lrelease){ +LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease +} + +unix:exists($$[QT_INSTALL_BINS]/lrelease-qt5){ +LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease-qt5 +} + + +isEmpty(LRELEASE_EXECUTABLE){ +error(Could not find lrelease executable) +} +else { +message(Found lrelease executable: $$LRELEASE_EXECUTABLE) +} + +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 + |