diff options
author | Michal Klocek <michal.klocek@qt.io> | 2023-02-02 18:25:40 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2023-02-15 07:15:01 +0100 |
commit | 552f941ec35987b643dac0fdb8a323366bf4e3d0 (patch) | |
tree | f5ae5940d415c69c0d92c694e146eb88058dc268 | |
parent | 27eef6d4a289162ea82e3009245e80296c8e8cf4 (diff) | |
download | qtwebengine-552f941ec35987b643dac0fdb8a323366bf4e3d0.tar.gz |
Add WebChannelQuick dependency
Reflect latest changes to qtwebchannel.
Change-Id: I10bc1690dc32ce1bb61ed9dabc7f31a44d2fdf7e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/webenginequick/CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/webenginequick/api/qquickwebengineview.cpp | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b25edfa00..d3db42b40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,8 @@ project(QtWebEngine find_package(Qt6 ${PROJECT_VERSION} CONFIG QUIET OPTIONAL_COMPONENTS Gui Widgets Network OpenGL Quick Qml PrintSupport - WebChannel Positioning QuickControls2 Test QuickWidgets QuickTest WebSockets Designer + WebChannel WebChannelQuick Positioning QuickControls2 + Test QuickWidgets QuickTest WebSockets Designer JpegPrivate PngPrivate HarfbuzzPrivate FreetypePrivate ZlibPrivate ) diff --git a/src/webenginequick/CMakeLists.txt b/src/webenginequick/CMakeLists.txt index 0081edb7f..867a388eb 100644 --- a/src/webenginequick/CMakeLists.txt +++ b/src/webenginequick/CMakeLists.txt @@ -57,6 +57,11 @@ qt_internal_add_qml_module(WebEngineQuick Qt::WebEngineCore ) +qt_internal_extend_target(WebEngineQuick CONDITION QT_FEATURE_webengine_webchannel + PUBLIC_LIBRARIES + Qt::WebChannelQuick +) + qt_internal_extend_target(WebEngineQuick CONDITION QT_FEATURE_accessibility SOURCES qquickwebengine_accessible.cpp qquickwebengine_accessible.h diff --git a/src/webenginequick/api/qquickwebengineview.cpp b/src/webenginequick/api/qquickwebengineview.cpp index 9eb8a1e2a..5728472a7 100644 --- a/src/webenginequick/api/qquickwebengineview.cpp +++ b/src/webenginequick/api/qquickwebengineview.cpp @@ -71,7 +71,7 @@ #endif #if QT_CONFIG(webengine_webchannel) -#include <QtWebChannel/qqmlwebchannel.h> +#include <QtWebChannelQuick/qqmlwebchannel.h> #endif QT_BEGIN_NAMESPACE |