当前位置:网站首页>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
边栏推荐
- PS tips - draw green earth with a brush
- 556. The next larger element III: simple construction simulation questions
- retrofit
- puzzle(016.4)多米诺效应
- Code writing and playing method of tonybot humanoid robot at fixed distance
- Use of constraintlayout
- C language STR function
- 提高效率 Or 增加成本,开发人员应如何理解结对编程?
- Protobuf and grpc
- Yolov5进阶之七目标追踪最新环境搭建(二)
猜你喜欢
![[opengl] advanced chapter of texture - principle of flowmap](/img/dd/6208122fcc578caaf098301b185e03.jpg)
[opengl] advanced chapter of texture - principle of flowmap

分布式事务(Seata) 四大模式详解

tonybot 人形机器人 定距移动 代码编写玩法
![洛谷P4047 [JSOI2010]部落划分 题解](/img/7f/3fab3e94abef3da1f5652db35361df.png)
洛谷P4047 [JSOI2010]部落划分 题解

Tonybot Humanoïde Robot Infrared Remote play 0630
![Luogu p4047 [jsoi2010] tribal division solution](/img/7f/3fab3e94abef3da1f5652db35361df.png)
Luogu p4047 [jsoi2010] tribal division solution

复合类型(自定义类型)
![[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?](/img/f6/fe61c84f289f0e74a45946dac687a6.jpg)
[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?

How can entrepreneurial teams implement agile testing to improve quality and efficiency? Voice network developer entrepreneurship lecture Vol.03

Bucket sorting in C language
随机推荐
Tiantu investment sprint Hong Kong stocks: asset management scale of 24.9 billion, invested in xiaohongshu and Naixue
Special research report on the market of lithium battery electrolyte industry in China (2022 Edition)
FPGA blocking assignment and non blocking assignment
Yolov5进阶之九 目标追踪实例1
C language dup2 function
Common shortcut keys in PCB
cpu飙升排查方法
Use of constraintlayout
Zzuli:1047 logarithmic table
Niuke: crossing the river
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
Common commands for getting started with mongodb database
[opengl] pre bake using computational shaders
Zzuli:1043 max
[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?
C language fcntl function
Adc128s022 ADC Verilog design and Implementation
tonybot 人形机器人 首次开机 0630
The latest M1 dedicated Au update Adobe audit CC 2021 Chinese direct installation version has solved the problems of M1 installation without flash back!
ConstraintLayout 的使用