当前位置:网站首页>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
边栏推荐
- Introduction to opengl4.0 tutorial computing shaders
- tonybot 人形机器人 查看端口并对应端口 0701
- Sword finger offer 28 Symmetric binary tree
- 创业团队如何落地敏捷测试,提升质量效能?丨声网开发者创业讲堂 Vol.03
- Tonybot Humanoïde Robot Infrared Remote play 0630
- [ue4] HISM large scale vegetation rendering solution
- Mongodb index
- Zhonggan micro sprint technology innovation board: annual revenue of 240million, net loss of 17.82 million, proposed to raise 600million
- C language dup2 function
- Tonybot humanoid robot infrared remote control play 0630
猜你喜欢

Introduction to opengl4.0 tutorial computing shaders
![洛谷P5018 [NOIP2018 普及组] 对称二叉树 题解](/img/89/da1a3a38e02671628f385de0f30369.png)
洛谷P5018 [NOIP2018 普及组] 对称二叉树 题解

Detailed explanation of four modes of distributed transaction (Seata)

Solve the problem that PR cannot be installed on win10 system. Pr2021 version -premiere Pro 2021 official Chinese version installation tutorial

C language DUP function

tonybot 人形机器人 红外遥控玩法 0630

基因家族特征分析 - 染色体定位分析

ASTC texture compression (adaptive scalable texture compression)
![Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution](/img/89/da1a3a38e02671628f385de0f30369.png)
Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution

Adc128s022 ADC Verilog design and Implementation
随机推荐
556. The next larger element III: simple construction simulation questions
tonybot 人形机器人 首次开机 0630
7-3 rental (20 points)
Frequently asked questions: PHP LDAP_ add(): Add: Undefined attribute type in
[ue4] geometry drawing pipeline
[graphics] hair simulation in tressfx
Timecho of Tianmou technology completed an angel round financing of nearly 100 million yuan to create a native timing database of the industrial Internet of things
Adobe Premiere Pro 15.4 has been released. It natively supports Apple M1 and adds the function of speech to text
Four data flows and cases of grpc
C language to implement a password manager (under update)
Zzuli:1059 highest score
tonybot 人形机器人 红外遥控玩法 0630
Bibit pharmaceutical rushed to the scientific innovation board: annual revenue of 970000, loss of 137million, proposed to raise 2billion
Pytorch深度学习和目标检测实战笔记
Zzuli:1040 sum of sequence 1
Tonybot Humanoïde Robot Infrared Remote play 0630
C language DUP function
CentOS7部署哨兵Redis(带架构图,清晰易懂)
FPGA blocking assignment and non blocking assignment
2021-10-16 initial programming