aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/qt5ct.pro
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-07-18 16:01:46 -0400
committerq5sys <jt@obs-sec.com>2017-07-18 16:01:46 -0400
commit2e9f29c3fc01d52a2b832f91a2c1ffcc458b0725 (patch)
treed121903491ba2331bde1857a97df8338f0fd2037 /src-qt5/core/lumina-theme-engine/qt5ct.pro
parentAdd some better edge-detection systems for the window borders on the left/rig... (diff)
downloadlumina-2e9f29c3fc01d52a2b832f91a2c1ffcc458b0725.tar.gz
lumina-2e9f29c3fc01d52a2b832f91a2c1ffcc458b0725.tar.bz2
lumina-2e9f29c3fc01d52a2b832f91a2c1ffcc458b0725.zip
commit of qt5ct source tree
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/qt5ct.pro')
-rw-r--r--src-qt5/core/lumina-theme-engine/qt5ct.pro37
1 files changed, 37 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-theme-engine/qt5ct.pro b/src-qt5/core/lumina-theme-engine/qt5ct.pro
new file mode 100644
index 00000000..427f9512
--- /dev/null
+++ b/src-qt5/core/lumina-theme-engine/qt5ct.pro
@@ -0,0 +1,37 @@
+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
+}
+
+
+win32:exists($$[QT_INSTALL_BINS]/lrelease.exe){
+LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease.exe
+}
+
+
+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)
+win32:system(for /r %B in (*.ts) do $$LRELEASE_EXECUTABLE %B)
+
+include(qt5ct.pri)
+
+message (PREFIX=$$PREFIX)
+message (BINDIR=$$BINDIR)
+message (DATADIR=$$DATADIR)
+message (PLUGINDIR=$$PLUGINDIR)
+equals (DISABLE_WIDGETS,1):message ("QtWidgets are disabled!")
bgstack15