diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-02-09 12:00:15 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-03-01 16:05:00 +0000 |
commit | edd8f2840d85e35bbec905440b0b524d7e0d108e (patch) | |
tree | 14f453473b6c1cc0cfec1e1ff8a5b572e4c8de77 /src/core/core_generator.pro | |
parent | 5c42809274288811b386b3cb3cd08000777e37c8 (diff) |
Support cross-builds and alternative compilers with GN
Adds GN versions of the gyp_configure targets, to create custom
toolchains we can use to override compilers used by GN.
Change-Id: Ic3a9cb7e83f845180396faff632f72f9c24f3365
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/core_generator.pro')
-rw-r--r-- | src/core/core_generator.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_generator.pro b/src/core/core_generator.pro index 9ea3f7246..c99e10ef8 100644 --- a/src/core/core_generator.pro +++ b/src/core/core_generator.pro @@ -40,7 +40,7 @@ RCC_DIR = $$OUT_PWD/$$getConfigDir()/.rcc # Assume that we want mobile touch and low-end hardware behaviors # whenever we are cross compiling. -cross_compile: DEFINES += QTWEBENGINE_EMBEDDED_SWITCHES +contains(WEBENGINE_CONFIG, embedded_build): DEFINES += QTWEBENGINE_EMBEDDED_SWITCHES qtConfig(egl): CONFIG += egl |