fix bug macos

This commit is contained in:
朱子楚\zhuzi 2024-06-21 13:21:32 +08:00
parent 6feaf80991
commit 155307fe6a
2 changed files with 2 additions and 10 deletions

View File

@ -73,11 +73,7 @@ if (WIN32)
)
endif ()
#qrc
qt_add_big_resources(QRC_RESOURCES ${PROJECT_NAME}.qrc)
list(APPEND QRC_RESOURCES ${PROJECT_NAME}.qrc)
set_property(SOURCE ${PROJECT_NAME}.qrc PROPERTY SKIP_AUTORCC ON)
list(APPEND sources_files ${QRC_RESOURCES})
list(APPEND sources_files ${PROJECT_NAME}.qrc)
#
if (WIN32)

View File

@ -32,13 +32,9 @@ add_custom_target(Script-UpdateTranslations
SOURCES ${TS_FILE_PATHS}
)
qt_add_big_resources(QRC_RESOURCES qml.qrc)
list(APPEND QRC_RESOURCES qml.qrc)
set_property(SOURCE qml.qrc PROPERTY SKIP_AUTORCC ON)
set(PROJECT_SOURCES
main.cpp
${QRC_RESOURCES}
qml.qrc
)
if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)