From b6690b2334a6004ba7281cdfb34046e98e475502 Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Wed, 17 Jun 2015 16:43:25 +0200 Subject: Make it possible to run applications with chromium embedded options This patch adds --enable-embedded-switches command line switch to enable all the embedded switches on startup instead of during compile time. Among others this enables pinch-zoom, viewport and impl-side painting, to make it easy to run an application with these settings even if the library was not cross-compiled. On embedded these are enabled by default and can be disabled by --disable-embedded-switches. Change-Id: I366ed243f1b0e17cbeb900e672d0e15fb4a2b8b0 Reviewed-by: Allan Sandfeld Jensen --- src/core/core_gyp_generator.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/core_gyp_generator.pro') diff --git a/src/core/core_gyp_generator.pro b/src/core/core_gyp_generator.pro index 4ab1b7b98..90d748c4b 100644 --- a/src/core/core_gyp_generator.pro +++ b/src/core/core_gyp_generator.pro @@ -18,7 +18,7 @@ DEFINES += QT_NO_KEYWORDS \ # Assume that we want mobile touch and low-end hardware behaviors # whenever we are cross compiling. -cross_compile: DEFINES += QTWEBENGINE_MOBILE_SWITCHES +cross_compile: DEFINES += QTWEBENGINE_EMBEDDED_SWITCHES contains(QT_CONFIG, egl): CONFIG += egl else: DEFINES += QT_NO_EGL -- cgit v1.2.3