main
zhuzihcu 2023-05-18 15:19:39 +08:00
parent 4aba260eb5
commit edd1ea90b9
1 changed files with 8 additions and 0 deletions

View File

@ -90,6 +90,7 @@ set_target_properties(example PROPERTIES
WIN32_EXECUTABLE TRUE WIN32_EXECUTABLE TRUE
) )
# #
target_link_libraries(example PRIVATE target_link_libraries(example PRIVATE
Qt6::Quick Qt6::Quick
@ -98,6 +99,13 @@ target_link_libraries(example PRIVATE
fluentuiplugin fluentuiplugin
) )
#
set(QML_PLUGIN_DIRECTORY ${CMAKE_PREFIX_PATH}/qml/FluentUI)
target_include_directories(
example PRIVATE
${QML_PLUGIN_DIRECTORY}
)
# #
install(TARGETS example install(TARGETS example
BUNDLE DESTINATION . BUNDLE DESTINATION .