当前位置:网站首页>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
边栏推荐
- FPGA blocking assignment and non blocking assignment
- QT - draw something else
- PS tips - draw green earth with a brush
- Creation of data table of Doris' learning notes
- Puzzle (016.4) domino effect
- Amazon, express, lazada, shopee, eBay, wish, Wal Mart, Alibaba international, meikeduo and other cross-border e-commerce platforms evaluate how Ziyang account can seize traffic by using products in th
- Common commands for getting started with mongodb database
- Find books ()
- Simulation of LS -al command in C language
- Piwigo 2.7.1 sqli learning
猜你喜欢
[engine development] in depth GPU and rendering optimization (basic)
tonybot 人形机器人 首次开机 0630
Tonybot humanoid robot starts for the first time 0630
How to query the baby category of tmall on Taobao
[ue4] geometry drawing pipeline
Rasterization: a practical implementation (2)
QT - draw something else
Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution
Happy capital new dual currency fund nearly 4billion yuan completed its first account closing
基因家族特征分析 - 染色体定位分析
随机推荐
[ue4] HISM large scale vegetation rendering solution
Common commands for getting started with mongodb database
Rasterization: a practical implementation (2)
Pyqt interface production (login + jump page)
Puzzle (016.3) is inextricably linked
Get permissions dynamically
Tailing rushes to the scientific and Technological Innovation Board: it plans to raise 1.3 billion, and Xiaomi Changjiang is the shareholder
Zzuli:1044 failure rate
1017 a divided by B (20 points)
Zzuli:1056 lucky numbers
NOI OPENJUDGE 1.4(15)
洛谷P3065 [USACO12DEC]First! G 题解
Zzuli:1047 logarithmic table
Zzuli:1045 numerical statistics
Zzuli:1059 highest score
[graphics] hair simulation in tressfx
[combinatorics] permutation and combination (set combination, one-to-one correspondence model analysis example)
Adc128s022 ADC Verilog design and Implementation
[graphics] adaptive shadow map
[graphics] efficient target deformation animation based on OpenGL es 3.0