diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-08-02 12:41:18 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-10 13:56:48 +0000 |
commit | 6d2253539b8bb19280265264aeb4ffc96d9fb15b (patch) | |
tree | 1e83e048e467021af6314d806fdae223aff0fcc3 | |
parent | 3612cb879cad9dde124e86d254886beb6a069691 (diff) |
Fix widget dependency in customdialogs
Fixes: QTBUG-95367
Change-Id: I40851a8e6e6484bd7f7bba0f0e60a72b6331bcec
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
(cherry picked from commit 4ff41d948059ebd014c4bb3a094cf0e21dd74ada)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/webengine/customdialogs/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/webengine/customdialogs/CMakeLists.txt b/examples/webengine/customdialogs/CMakeLists.txt index 93127f37d..d117e7996 100644 --- a/examples/webengine/customdialogs/CMakeLists.txt +++ b/examples/webengine/customdialogs/CMakeLists.txt @@ -16,6 +16,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/webengine/customdialogs") find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS WebEngineQuick) +find_package(Qt6 OPTIONAL_COMPONENTS Widgets) qt_add_executable(customdialogs main.cpp @@ -31,8 +32,6 @@ target_link_libraries(customdialogs PUBLIC Qt::WebEngineQuick ) - -# Resources: set(customdialogs_resource_files "MessageRectangle.qml" "SwitchButton.qml" |