Zhao Yuhang
2024-03-30 96399d3983cff1940c9e5c484c6aa9d84ee5176d
src/QWindowKitConfig.cmake.in
@@ -5,12 +5,12 @@
find_dependency(QT NAMES Qt6 Qt5 COMPONENTS Core Gui REQUIRED)
find_dependency(Qt${QT_VERSION_MAJOR} COMPONENTS Core Gui REQUIRED)
if ("Widgets" IN_LIST qmsetup_FIND_COMPONENTS)
if ("Widgets" IN_LIST QWindowKit_FIND_COMPONENTS)
    find_dependency(QT NAMES Qt6 Qt5 Widgets REQUIRED)
    find_dependency(Qt${QT_VERSION_MAJOR} Widgets REQUIRED)
endif()
if ("Quick" IN_LIST qmsetup_FIND_COMPONENTS)
if ("Quick" IN_LIST QWindowKit_FIND_COMPONENTS)
    find_dependency(QT NAMES Qt6 Qt5 Quick REQUIRED)
    find_dependency(Qt${QT_VERSION_MAJOR} Quick REQUIRED)
endif()