mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 13:49:08 +08:00
fix bug macos
This commit is contained in:
parent
6feaf80991
commit
155307fe6a
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user