Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfella committed Nov 18, 2024
1 parent b1f8795 commit aa291a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/qt_types_standalone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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}
Expand Down

0 comments on commit aa291a5

Please sign in to comment.