aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/test.sh')
-rwxr-xr-xsrc-qt5/core/lumina-theme-engine/test.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-theme-engine/test.sh b/src-qt5/core/lumina-theme-engine/test.sh
new file mode 100755
index 00000000..d4e55d5d
--- /dev/null
+++ b/src-qt5/core/lumina-theme-engine/test.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+MYDIR=$(dirname $0)
+
+mkdir -p ${MYDIR}/src/qt5ct/styles
+ln -s "../../qt5ct-style/libqt5ct-style.so" "${MYDIR}/src/qt5ct/styles/"
+export QT_DEBUG_PLUGINS=1
+export QT_QPA_PLATFORMTHEME=qt5ct
+export QT_QPA_PLATFORM_PLUGIN_PATH=${MYDIR}/src/qt5ct-qtplugin
+${MYDIR}/src/qt5ct/qt5ct
+rm -rf ${MYDIR}/src/qt5ct/styles/
bgstack15