diff options
author | q5sys <jt@obs-sec.com> | 2017-07-18 17:15:43 -0400 |
---|---|---|
committer | q5sys <jt@obs-sec.com> | 2017-07-18 17:15:43 -0400 |
commit | 79b63889ab31ac2649ee21e127189ef5918542ca (patch) | |
tree | e45f5b0b259252b080823790cf383ce59393a3b0 /src-qt5/core/lumina-theme-engine/lthemeengine.pro | |
parent | the second great renaming (diff) | |
download | lumina-79b63889ab31ac2649ee21e127189ef5918542ca.tar.gz lumina-79b63889ab31ac2649ee21e127189ef5918542ca.tar.bz2 lumina-79b63889ab31ac2649ee21e127189ef5918542ca.zip |
get lthemeengine building successfully
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/lthemeengine.pro')
-rw-r--r-- | src-qt5/core/lumina-theme-engine/lthemeengine.pro | 31 |
1 files changed, 31 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..2b2b34b0 --- /dev/null +++ b/src-qt5/core/lumina-theme-engine/lthemeengine.pro @@ -0,0 +1,31 @@ +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(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!") |