nginx设置Alist域名及https域名证书
2023-3-10
| 2023-6-27
0  |  0 分钟
type
status
date
slug
summary
tags
category
icon
password
Property
Jun 27, 2023 06:32 AM
要写一个可以隐藏到托盘的Qt界面程序可以分三步:
1、在mainwindow.cpp中添加头文件:
2、挑选一个顺眼的icon,添加到qrc中,比如笔者选择了:/icon/办公软件.png
3、把以下代码粘贴到mainwindow.cpp的构造函数中,把icon换成自己的,大功告成~
技术分享
  • C++
  • QT
  • Qt6设置系统托盘程序QT+CMake设置应用图标
    目录