diff options
author | Morteza Jamshidi <[email protected]> | 2025-03-07 13:25:28 +0100 |
---|---|---|
committer | Michal Klocek <[email protected]> | 2025-05-30 15:53:35 +0200 |
commit | 81b6881cf042988f588959a0090253199a3546cf (patch) | |
tree | 56c73bc619de6efb112a40e85931fff3f174e1ef /src/plugins/windows/CMakeLists.txt | |
parent | f7c6ad95b4cf7f6be7a90e2fdce3d0ad43b37f70 (diff) |
with this plugin qt webview uses webview2 in the backend for windows
Task-number: QTBUG-75747
Change-Id: Iab91b95386be6b32c7acfb97f029ed49a6560745
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Diffstat (limited to 'src/plugins/windows/CMakeLists.txt')
-rw-r--r-- | src/plugins/windows/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/plugins/windows/CMakeLists.txt b/src/plugins/windows/CMakeLists.txt new file mode 100644 index 0000000..3a25095 --- /dev/null +++ b/src/plugins/windows/CMakeLists.txt @@ -0,0 +1,24 @@ +# Copyright (C) 2025 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause + +##################################################################### +## QWebview2Webview Plugin: +##################################################################### + +qt_internal_add_plugin(QWebView2WebViewPlugin + OUTPUT_NAME qtwebview_webview2 + PLUGIN_TYPE webview + SOURCES + qwebview2webview.cpp qwebview2webview_p.h + qwebview2webviewplugin.cpp + INCLUDE_DIRECTORIES + ${WEBVIEW2_INCLUDE_DIR} + LIBRARIES + urlmon + Qt::Core + Qt::Gui + Qt::WebViewPrivate + WebView2::WebView2 + NO_PCH_SOURCES + "qwebview2webview.cpp" +) |