From 4b5da50b29b79b899838685163ce01cfac01bc60 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 24 Aug 2015 13:40:29 +0300 Subject: [PATCH] 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 Reviewed-by: Oswald Buddenhagen Reviewed-by: Andras Becsi --- mkspecs/devices/common/linux_device_post.conf | 4 ++++ 1 file changed, 4 insertions(+) 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