From aa291a585ea4f888b4b802de6a514a721b86293f Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Mon, 18 Nov 2024 14:05:10 +0100 Subject: [PATCH] Test --- tests/qt_types_standalone/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/qt_types_standalone/CMakeLists.txt b/tests/qt_types_standalone/CMakeLists.txt index 7e7a8f7e5..d1bd7f6cc 100644 --- a/tests/qt_types_standalone/CMakeLists.txt +++ b/tests/qt_types_standalone/CMakeLists.txt @@ -24,10 +24,10 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) if(NOT USE_QT5) - find_package(Qt6 COMPONENTS Core Gui Qml Test) + find_package(Qt6 COMPONENTS Core Gui Widgets Qml Test) endif() if(NOT Qt6_FOUND) - find_package(Qt5 5.15 COMPONENTS Core Gui Qml Test QuickControls2 REQUIRED) + find_package(Qt5 5.15 COMPONENTS Core Gui Widgets Qml Test QuickControls2 REQUIRED) endif() find_package(CxxQt QUIET) @@ -46,7 +46,7 @@ set(CRATE qt_types_standalone) cxx_qt_import_crate( MANIFEST_PATH rust/Cargo.toml CRATES ${CRATE} - QT_MODULES Qt::Core Qt::Gui Qt::Qml + QT_MODULES Qt::Core Qt::Gui Qt::Widgets Qt::Qml ) add_executable(${APP_NAME}