diff options
-rw-r--r-- | src/core/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/core/configure/BUILD.root.gn.in | 11 | ||||
-rw-r--r-- | tests/auto/quick/qmltests/BLACKLIST | 3 | ||||
-rw-r--r-- | tests/auto/widgets/qwebengineview/BLACKLIST | 3 |
4 files changed, 21 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 2fa07d446..7b21fe459 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -361,6 +361,10 @@ foreach(arch ${archs}) ARGS use_browser_spellchecker CONDITION QT_FEATURE_webengine_native_spellchecker ) + extend_gn_list(gnArgArg + ARGS use_embedded_config + CONDITION QT_FEATURE_webengine_embedded_build + ) if(LINUX) list(APPEND gnArgArg diff --git a/src/core/configure/BUILD.root.gn.in b/src/core/configure/BUILD.root.gn.in index 24e8563eb..08faf24d5 100644 --- a/src/core/configure/BUILD.root.gn.in +++ b/src/core/configure/BUILD.root.gn.in @@ -78,6 +78,14 @@ config("QtWebEngineCore_config") { ] } +declare_args() { + use_embedded_config = false +} + +config("embedded_config") { + defines = [ "QTWEBENGINE_EMBEDDED_SWITCHES=1" ] +} + config("cpp17_config") { # static initialized constexpr expressions must be compiled always as c++14 or always as c++17 # and our qtwebengine core sources use them as c++17 @@ -154,6 +162,9 @@ shared_library("QtWebEngineCore") { configs += [ "//build/config/compiler:rtti" ] data_deps = [ ":QtWebEngineCoreSandbox" ] } + if (use_embedded_config) { + configs += [ ":embedded_config" ] + } sources = [ @GN_HEADERS@, diff --git a/tests/auto/quick/qmltests/BLACKLIST b/tests/auto/quick/qmltests/BLACKLIST index 0a0a9323a..36c737693 100644 --- a/tests/auto/quick/qmltests/BLACKLIST +++ b/tests/auto/quick/qmltests/BLACKLIST @@ -12,3 +12,6 @@ macos [WebViewFindText::test_findTextInterruptedByLoad] b2qt arm 64bit + +[WebEngineViewLoadUrl::test_loadStartedAfterInPageNavigation] +b2qt diff --git a/tests/auto/widgets/qwebengineview/BLACKLIST b/tests/auto/widgets/qwebengineview/BLACKLIST index ed022878e..5d9cc038a 100644 --- a/tests/auto/widgets/qwebengineview/BLACKLIST +++ b/tests/auto/widgets/qwebengineview/BLACKLIST @@ -6,3 +6,6 @@ windows [navigateOnDrop:file_no_navigate] windows + +[horizontalScrollbarTest] +b2qt # different scrollbar |