summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/device_config.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/device_config.prf')
-rw-r--r--mkspecs/features/device_config.prf14
1 files changed, 14 insertions, 0 deletions
diff --git a/mkspecs/features/device_config.prf b/mkspecs/features/device_config.prf
new file mode 100644
index 0000000..f7aeb07
--- /dev/null
+++ b/mkspecs/features/device_config.prf
@@ -0,0 +1,14 @@
+# Load generated qdevice.pri
+isEmpty(QT_BUILD_TREE): QT_BUILD_TREE = $$fromfile($$_QMAKE_CACHE_, QT_BUILD_TREE)
+isEmpty(QT_BUILD_TREE): QT_BUILD_TREE = . # where to get?
+
+DEVICE_PRI = $$QT_BUILD_TREE/mkspecs/qdevice.pri
+
+exists($$DEVICE_PRI):include($$DEVICE_PRI)
+unset(DEVICE_PRI)
+
+isEmpty(CROSS_COMPILE) {
+ #this variable can be persisted via qmake -set CROSS_COMPILE /foo
+ CROSS_COMPILE = $$[CROSS_COMPILE]
+}
+