Compare commits

..

2 Commits

Author SHA1 Message Date
zhuzichu
09e0430293
Merge pull request #584 from Kakueeen/main
修复编译错误
2025-01-16 18:09:35 +08:00
liuzhangjian
29686d07ba fix: Fix compilation error
QApplication: No such file or directory
2025-01-14 20:16:31 +08:00

View File

@ -24,8 +24,8 @@ else ()
endif ()
#Qt
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Quick Svg Network)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Quick Svg Network)
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Quick Svg Network Widgets)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Quick Svg Network Widgets)
#
find_program(QT_LUPDATE NAMES lupdate lupdate-qt6)
@ -141,6 +141,7 @@ target_link_libraries(${PROJECT_NAME} PRIVATE
Qt${QT_VERSION_MAJOR}::Quick
Qt${QT_VERSION_MAJOR}::Svg
Qt${QT_VERSION_MAJOR}::Network
Qt${QT_VERSION_MAJOR}::Widgets
fluentuiplugin
)