mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-24 03:30:59 +08:00
fix bug macos
This commit is contained in:
parent
6feaf80991
commit
155307fe6a
@ -73,11 +73,7 @@ if (WIN32)
|
|||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
#加快qrc编译
|
list(APPEND sources_files ${PROJECT_NAME}.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})
|
|
||||||
|
|
||||||
#添加可执行文件
|
#添加可执行文件
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
@ -32,13 +32,9 @@ add_custom_target(Script-UpdateTranslations
|
|||||||
SOURCES ${TS_FILE_PATHS}
|
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
|
set(PROJECT_SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
${QRC_RESOURCES}
|
qml.qrc
|
||||||
)
|
)
|
||||||
|
|
||||||
if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||||
|
Loading…
Reference in New Issue
Block a user