fix issue with building with examples and playground disabled

This commit is contained in:
Aldo Nicolas Bruno 2024-05-26 22:48:17 +02:00
parent 319abafb0d
commit 7f2ee58a4c
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ macro(qsk_setup_Qt)
message(FATAL_ERROR "Couldn't find any Qt package !") message(FATAL_ERROR "Couldn't find any Qt package !")
endif() endif()
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Quick)
# Using find_package is probably no good idea as all other Qt modules should # Using find_package is probably no good idea as all other Qt modules should
# be located below ${_qt_cmake_dir}. Otherwise we might end up with modules # be located below ${_qt_cmake_dir}. Otherwise we might end up with modules
# from different packages. TODO ... # from different packages. TODO ...