Zhao Yuhang
2024-05-08 85e783997ffd9629cdaef44b7d482f23c8ca49cb
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()