2024-08-20 23:58:02 +08:00
|
|
|
find_package(Qt6 6.5 REQUIRED COMPONENTS Quick)
|
|
|
|
|
|
|
|
qt_standard_project_setup(REQUIRES 6.5)
|
|
|
|
|
|
|
|
add_executable(FluentWindow main.cpp)
|
|
|
|
|
|
|
|
qt_add_qml_module(FluentWindow
|
|
|
|
URI FluentWindow
|
|
|
|
VERSION 1.0
|
|
|
|
QML_FILES
|
|
|
|
qml/Main.qml
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(FluentWindow
|
|
|
|
PRIVATE Qt6::Quick
|
|
|
|
PRIVATE Universal
|
|
|
|
PRIVATE Fluent
|
|
|
|
PRIVATE Fluentplugin
|
|
|
|
)
|
2024-10-29 21:51:37 +08:00
|
|
|
|
|
|
|
if(UNIX)
|
|
|
|
set_target_properties(FluentWindow PROPERTIES
|
|
|
|
SUFFIX .AppImage
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|