feat: 添加系统托盘
This commit is contained in:
@@ -45,6 +45,18 @@ target_link_libraries(cbh PRIVATE
|
||||
sqlite_orm::sqlite_orm
|
||||
)
|
||||
|
||||
# 添加资源文件
|
||||
set(cbh_resource_files
|
||||
"assets/icon.png"
|
||||
)
|
||||
|
||||
qt_add_resources(cbh "cbh"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${cbh_resource_files}
|
||||
)
|
||||
|
||||
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
|
||||
# If you are developing for iOS or macOS you should consider setting an
|
||||
# explicit, fixed bundle identifier manually though.
|
||||
|
||||
Reference in New Issue
Block a user