summaryrefslogtreecommitdiffstats
path: root/features/custominstall.prf
diff options
context:
space:
mode:
Diffstat (limited to 'features/custominstall.prf')
-rw-r--r--features/custominstall.prf10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/custominstall.prf b/features/custominstall.prf
new file mode 100644
index 0000000..835b3f9
--- /dev/null
+++ b/features/custominstall.prf
@@ -0,0 +1,10 @@
+# Fixes all INSTALLS paths so that QT_INSTALL_PREFIX is replaced by the value of
+# the environment variable QT3DS_CUSTOM_INSTALL_PATH
+
+QT3DS_CUSTOM_INSTALL_PATH = $$clean_path($$(QT3DS_CUSTOM_INSTALL_PATH))
+!isEmpty(QT3DS_CUSTOM_INSTALL_PATH) {
+ for (install, INSTALLS) {
+ CUR_PATH = $$eval($${install}.path)
+ $${install}.path = $$replace(CUR_PATH, $$[QT_INSTALL_PREFIX], $$QT3DS_CUSTOM_INSTALL_PATH)
+ }
+}