当前位置:网站首页>Vs+qt application development, set software icon icon
Vs+qt application development, set software icon icon
2022-07-03 14:49:00 【Jack1009HF】
VS+Qt application development , Set software icon Icon
Preface
VS edition :VS2019
QT edition :Qt5.12.3(msvc2017_64)
One 、 Insipid default icon Icon
VS+Qt Application development , Window title bar icon、 The task bar 、 Executable file (.exe) The default icons are used .
Although it can be used , But it can't satisfy a procedural ape's pursuit of beauty .
So how to set , Can I use my favorite app icon ?
Ugly default icon
Two 、 How to set your favorite icon Icon ?
1. Choose your favorite Icon
Here are some good websites , You can download your favorite icon files by yourself :
2. Set the executable (.exe) Icon
The downloaded icon file (.ico) Put it into the project directory
stay VS in , Right click the item name -> add to -> resources ;
In the pop-up window , choice Icon-> Import -> Select the downloaded icon file ;
The icon file will be displayed in VS In the window of , It can be modified ;
Right-click the project name -> To regenerate the , The executable icon in the folder changes .
3. Set the title bar and taskbar icons
- Double click the resource file under the resource file in the solution (.qrc), eject Qt Resource editor ;
- Select the downloaded icon file , single click “ open ”;
- Close the resource editor interface (.qrc), And save the changes ;
- Double click the window file (.ui), Get into Qt Designer Editing ;
- Select the main window -> attribute windowIcon, single click “▼”-> Choose resources ;
- Select icon file , And click “OK”
- preservation Qt Designer after , sign out Designer Recompile project , The title bar and status bar icons have changed .
3、 ... and 、 effect
This completes the window title bar 、 The task bar 、 Executable file (.exe) Icon settings .
It's not so much ?
Four 、 Engineering source
边栏推荐
- 洛谷P5194 [USACO05DEC]Scales S 题解
- 远程服务器后台挂起 nohup
- The latest M1 dedicated Au update Adobe audit CC 2021 Chinese direct installation version has solved the problems of M1 installation without flash back!
- Use of form text box (I) select text
- [ue4] geometry drawing pipeline
- Some concepts about agile
- Get permissions dynamically
- Happy capital new dual currency fund nearly 4billion yuan completed its first account closing
- 论文分享:Generating Playful Palettes from Images
- Mongodb index
猜你喜欢
C language to realize mine sweeping
My QT learning path -- how qdatetimeedit is empty
Tonybot Humanoïde Robot Infrared Remote play 0630
556. The next larger element III
Bucket sorting in C language
Sub GHz wireless solution Z-Wave 800 Series zg23 SOC and zgm230s modules
tonybot 人形机器人 首次开机 0630
Dllexport et dllimport
Use of form text box (I) select text
tonybot 人形机器人 查看端口并对应端口 0701
随机推荐
Implement Gobang with C language
Déformation de la chaîne bm83 de niuke (conversion de cas, inversion de chaîne, remplacement de chaîne)
tonybot 人形机器人 查看端口并对应端口 0701
洛谷P3065 [USACO12DEC]First! G 题解
从书本《皮囊》摘录的几个句子
Pytorch深度学习和目标检测实战笔记
Puzzle (016.4) domino effect
Creation of data table of Doris' learning notes
Pyqt interface production (login + jump page)
[graphics] efficient target deformation animation based on OpenGL es 3.0
数学常数表 by q779
Dllexport and dllimport
[opengl] face pinching system
Niuke: crossing the river
Optical cat super account password and broadband account password acquisition
Get permissions dynamically
牛客 BM83 字符串变形(大小写转换,字符串反转,字符串替换)
How to color ordinary landscape photos, PS tutorial
To improve efficiency or increase costs, how should developers understand pair programming?
NOI OPENJUDGE 1.6(09)