diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-08-02 12:41:18 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2021-08-06 07:08:21 +0000 |
commit | 4ff41d948059ebd014c4bb3a094cf0e21dd74ada (patch) | |
tree | 6eb6ef2b7ac63d65d9d4cee70853f25d36d0bfad /examples/webengine | |
parent | 0d79f35e48fddc3c3c294c0da2555130cbcd084a (diff) |
Fix widget dependency in customdialogs
Fixes: QTBUG-95367
Pick-to: 6.2
Change-Id: I40851a8e6e6484bd7f7bba0f0e60a72b6331bcec
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'examples/webengine')
-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" |