main
朱子楚\zhuzi 2023-05-11 18:51:44 +08:00
parent f8146f24ea
commit 0a1c6d54bc
1 changed files with 1 additions and 3 deletions

View File

@ -16,9 +16,6 @@ else()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_PREFIX_PATH}/bin) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_PREFIX_PATH}/bin)
endif() endif()
#QML
set(QT_QML_OUTPUT_DIRECTORY ${CMAKE_PREFIX_PATH}/qml)
# #
add_definitions(-DVERSION=1,2,9,0) add_definitions(-DVERSION=1,2,9,0)
@ -54,6 +51,7 @@ endforeach()
#qml #qml
qt_add_library(fluentui SHARED) qt_add_library(fluentui SHARED)
qt_add_qml_module(fluentui qt_add_qml_module(fluentui
OUTPUT_DIRECTORY ${CMAKE_PREFIX_PATH}/qml/FluentUI
VERSION 1.0 VERSION 1.0
URI "FluentUI" URI "FluentUI"
SOURCES ${sources_files} fluentui.rc SOURCES ${sources_files} fluentui.rc