summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/common
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2015-08-24 13:40:29 +0300
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2015-08-25 19:35:22 +0000
commit4b5da50b29b79b899838685163ce01cfac01bc60 (patch)
tree5212442a267d7010ea6c81cd7988d1203ec828a8 /mkspecs/devices/common
parentb46fe39d940712c5d401e731e171a7ccfadfe648 (diff)
mkspecs: add option to enable boot2qt platform
Add configure time option to enable boot2qt platform using DISTRO_OPTS. On embedded, the QtWebEngine is supported only on boot2qt platforms. To have QtWebEngine CI tested on embedded, we need a way to to enable boot2qt platform for existing mkspecs. Change-Id: I218da5b8071041ca1c95eb218b2d552fcc9980d2 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'mkspecs/devices/common')
-rw-r--r--mkspecs/devices/common/linux_device_post.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/devices/common/linux_device_post.conf b/mkspecs/devices/common/linux_device_post.conf
index d90d25191f..88fa31d805 100644
--- a/mkspecs/devices/common/linux_device_post.conf
+++ b/mkspecs/devices/common/linux_device_post.conf
@@ -3,6 +3,10 @@ contains(DISTRO_OPTS, deb-multi-arch) {
-Wl,-rpath-link,$$[QT_SYSROOT]/lib/$${GCC_MACHINE_DUMP}
}
+contains(DISTRO_OPTS, boot2qt) {
+ QMAKE_PLATFORM += boot2qt
+}
+
QMAKE_CFLAGS += $$COMPILER_FLAGS
QMAKE_CXXFLAGS += $$COMPILER_FLAGS
QMAKE_LFLAGS += $$LINKER_FLAGS