mkspecs: add option to enable boot2qt platform
authorSamuli Piippo <samuli.piippo@theqtcompany.com>
Mon, 24 Aug 2015 10:40:29 +0000 (13:40 +0300)
committerSamuli Piippo <samuli.piippo@theqtcompany.com>
Tue, 25 Aug 2015 19:35:22 +0000 (19:35 +0000)
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>
mkspecs/devices/common/linux_device_post.conf

index d90d25191fc9d62832cd331c457d46298ad90db3..88fa31d8057600c3d2834748fe9ac018c14bdaef 100644 (file)
@@ -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