diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-03-23 10:58:26 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2021-05-22 14:10:19 +0200 |
commit | e6a7c6548f15cb158c1a5a2ac97fadaecb54f1ee (patch) | |
tree | 7d50d6df4904590e6fa2edafd78ffb8ac439d2e8 /src/core/process_main.cpp | |
parent | 6d6037be24bcbff5efada34ed39331c7c8b28f3b (diff) |
Add windows to the cmake build
Fix cmake for windows builds and add QtWebEngineSandbox target.
Task-number: QTBUG-91760
Change-Id: If962a81ddfb509d104ad8ffbfbf34f1150ae82ce
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/process_main.cpp')
-rw-r--r-- | src/core/process_main.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/process_main.cpp b/src/core/process_main.cpp index 827e31037..709f8bd6d 100644 --- a/src/core/process_main.cpp +++ b/src/core/process_main.cpp @@ -37,8 +37,7 @@ ** ****************************************************************************/ -#include "process_main.h" - +#include "qtwebenginecoreglobal_p.h" #include "content_main_delegate_qt.h" #include "content/public/app/content_main.h" #if defined(OS_WIN) @@ -51,10 +50,6 @@ namespace QtWebEngineCore { -#if defined(OS_WIN) -extern sandbox::SandboxInterfaceInfo *staticSandboxInterfaceInfo(sandbox::SandboxInterfaceInfo *info = nullptr); -#endif - /*! \internal */ int processMain(int argc, const char **argv) { @@ -63,7 +58,7 @@ int processMain(int argc, const char **argv) #if defined(OS_WIN) HINSTANCE instance_handle = NULL; - params.sandbox_info = staticSandboxInterfaceInfo(); + params.sandbox_info = QtWebEngineSandbox::staticSandboxInterfaceInfo(); sandbox::SandboxInterfaceInfo sandbox_info = {0}; if (!params.sandbox_info) { content::InitializeSandboxInfo(&sandbox_info); |