aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-07-18 16:15:05 -0400
committerq5sys <jt@obs-sec.com>2017-07-18 16:15:05 -0400
commit022fe54ed7c30fc840ffd82cb9796f47ddfefb0e (patch)
treec7104c252f16e60bcdf06b296e0cc85bf912f9f7 /src-qt5/core/lumina-theme-engine
parentremoval of duplicate README (diff)
downloadlumina-022fe54ed7c30fc840ffd82cb9796f47ddfefb0e.tar.gz
lumina-022fe54ed7c30fc840ffd82cb9796f47ddfefb0e.tar.bz2
lumina-022fe54ed7c30fc840ffd82cb9796f47ddfefb0e.zip
rename .pro file
Diffstat (limited to 'src-qt5/core/lumina-theme-engine')
-rw-r--r--src-qt5/core/lumina-theme-engine/lumina-theme-engine.pro31
-rw-r--r--src-qt5/core/lumina-theme-engine/qt5ct.pro6
2 files changed, 31 insertions, 6 deletions
diff --git a/src-qt5/core/lumina-theme-engine/lumina-theme-engine.pro b/src-qt5/core/lumina-theme-engine/lumina-theme-engine.pro
new file mode 100644
index 00000000..94391f8b
--- /dev/null
+++ b/src-qt5/core/lumina-theme-engine/lumina-theme-engine.pro
@@ -0,0 +1,31 @@
+TEMPLATE = subdirs
+
+SUBDIRS += src/qt5ct-qtplugin src/qt5ct-style src/qt5ct
+
+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(qt5ct.pri)
+
+message (PREFIX=$$PREFIX)
+message (BINDIR=$$BINDIR)
+message (DATADIR=$$DATADIR)
+message (PLUGINDIR=$$PLUGINDIR)
+equals (DISABLE_WIDGETS,1):message ("QtWidgets are disabled!")
diff --git a/src-qt5/core/lumina-theme-engine/qt5ct.pro b/src-qt5/core/lumina-theme-engine/qt5ct.pro
index 427f9512..94391f8b 100644
--- a/src-qt5/core/lumina-theme-engine/qt5ct.pro
+++ b/src-qt5/core/lumina-theme-engine/qt5ct.pro
@@ -2,7 +2,6 @@ TEMPLATE = subdirs
SUBDIRS += src/qt5ct-qtplugin src/qt5ct-style src/qt5ct
-
unix:exists($$[QT_INSTALL_BINS]/lrelease){
LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease
}
@@ -12,10 +11,6 @@ LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease-qt5
}
-win32:exists($$[QT_INSTALL_BINS]/lrelease.exe){
-LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease.exe
-}
-
isEmpty(LRELEASE_EXECUTABLE){
error(Could not find lrelease executable)
@@ -26,7 +21,6 @@ message(Found lrelease executable: $$LRELEASE_EXECUTABLE)
message(generating translations)
unix:system(find . -name *.ts | xargs $$LRELEASE_EXECUTABLE)
-win32:system(for /r %B in (*.ts) do $$LRELEASE_EXECUTABLE %B)
include(qt5ct.pri)
bgstack15