Merge pull request #43 from LiangLiang723/main

🔧 重构 FluWindow 后 CMakeLists 做对应修改
main
zhuzichu 2023-04-13 16:36:12 +08:00 committed by GitHub
commit f43bfec992
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View File

@ -25,11 +25,13 @@ find_package(Qt6 COMPONENTS Core Quick QuickControls2 Concurrent Network Multime
set(SOURCES
ChatController.cpp
AppInfo.cpp
main.cpp
)
set(HEADERS
ChatController.h
AppInfo.h
)
set(RESOURCES

View File

@ -24,6 +24,7 @@ set(TARGET_SOURCES
FluTheme.cpp
Fluent.cpp
FluentUI.cpp
NativeEventFilter.cpp
WindowHelper.cpp
qml_plugin.cpp
)
@ -37,18 +38,12 @@ set(TARGET_HEADERS
FluTheme.h
Fluent.h
FluentUI.h
FramelessView.h
NativeEventFilter.h
WindowHelper.h
qml_plugin.h
stdafx.h
)
if(WIN32)
set(TARGET_SOURCES ${TARGET_SOURCES} FramelessView_win.cpp)
else()
set(TARGET_SOURCES ${TARGET_SOURCES} FramelessView_unix.cpp)
endif()
add_definitions(-DVERSION_IN="1.0.0")
add_definitions(-DVURI_STR="FluentUI")