Skip to content

Commit aa291a5

Browse files
committed
Test
1 parent b1f8795 commit aa291a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/qt_types_standalone/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ set(CMAKE_CXX_STANDARD 17)
2424
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2525

2626
if(NOT USE_QT5)
27-
find_package(Qt6 COMPONENTS Core Gui Qml Test)
27+
find_package(Qt6 COMPONENTS Core Gui Widgets Qml Test)
2828
endif()
2929
if(NOT Qt6_FOUND)
30-
find_package(Qt5 5.15 COMPONENTS Core Gui Qml Test QuickControls2 REQUIRED)
30+
find_package(Qt5 5.15 COMPONENTS Core Gui Widgets Qml Test QuickControls2 REQUIRED)
3131
endif()
3232

3333
find_package(CxxQt QUIET)
@@ -46,7 +46,7 @@ set(CRATE qt_types_standalone)
4646
cxx_qt_import_crate(
4747
MANIFEST_PATH rust/Cargo.toml
4848
CRATES ${CRATE}
49-
QT_MODULES Qt::Core Qt::Gui Qt::Qml
49+
QT_MODULES Qt::Core Qt::Gui Qt::Widgets Qt::Qml
5050
)
5151

5252
add_executable(${APP_NAME}

0 commit comments

Comments
 (0)