当前位置:网站首页>QT release exe software and modify exe application icon
QT release exe software and modify exe application icon
2022-07-06 02:33:00 【Autodesk_ Glodon】
1、 modify exe App icons
1) Prepare one ico Icon
You need to prepare a ico Icon , Can be png Convert the picture to ico Icon , The icon size can be set to 128x128.
Can be in Icon online conversion website Conduct online conversion . After the conversion, you will xxx.ico The icon file is placed with .pro In the same directory :
2) stay .pro Add a line of code to the file
RC_ICONS = chess.ico //chess.ico Set the icon you want
3) perform qmake( structure –> perform qmake) And run
2、 Release exe Software
Usually after a successful build , It will be in the project folder Release Build in folder .exe file , This machine can run , Copying to someone else's computer will result in various missing prompts dll Error of , This is because there is no exe Dependency copying in the past , It is very troublesome to find dependencies one by one , therefore Qt Provides windeployqt To help solve the release problem .
Use windeployqt Release program
First put your own exe Copy to a new folder :
Then start your own Qt Version of the command line ,cd Go to your own folder :
And then execute windeployqt ChineseChessGame.exe
that will do :
windeployqt Will help us solve the file dependency , The library files needed by the program are generated in the folder , And the resource files are compiled into binary files .
Run again this time ChineseChessGame.exe, You can see that the results are normal , End of release .
边栏推荐
- 好用的 JS 脚本
- SQL table name is passed as a parameter
- 大厂镜像库
- Spark accumulator
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 7
- "Hands on learning in depth" Chapter 2 - preparatory knowledge_ 2.5 automatic differentiation_ Learning thinking and exercise answers
- [robot library] awesome robots Libraries
- Shell脚本更新存储过程到数据库
- 【MySQL 15】Could not increase number of max_ open_ files to more than 10000 (request: 65535)
- High number_ Vector algebra_ Unit vector_ Angle between vector and coordinate axis
猜你喜欢
"Hands on learning in depth" Chapter 2 - preparatory knowledge_ 2.5 automatic differentiation_ Learning thinking and exercise answers
Minecraft 1.16.5 biochemical 8 module version 2.0 storybook + more guns
2022 edition illustrated network pdf
【机器人库】 awesome-robotics-libraries
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13
[Wu Enda machine learning] week5 programming assignment EX4 - neural network learning
The third level of C language punch in
Black high-end responsive website dream weaving template (adaptive mobile terminal)
ReferenceError: primordials is not defined错误解决
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
随机推荐
High number_ Vector algebra_ Unit vector_ Angle between vector and coordinate axis
MySQL winter vacation self-study 2022 11 (6)
Sword finger offer 30 Stack containing min function
2022 edition illustrated network pdf
PAT甲级 1033 To Fill or Not to Fill
米家、涂鸦、Hilink、智汀等生态哪家强?5大主流智能品牌分析
2022.02.13
[Digital IC manual tearing code] Verilog asynchronous reset synchronous release | topic | principle | design | simulation
[untitled] a query SQL execution process in the database
好用的 JS 脚本
Structural theme model (I) STM package workflow
在GBase 8c数据库中使用自带工具检查健康状态时,需要注意什么?
Global and Chinese markets of screw rotor pumps 2022-2028: Research Report on technology, participants, trends, market size and share
There are so many giants, why should we independently develop POS store cashier system?
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8
How to generate rich text online
【coppeliasim】高效传送带
2022 eye health exhibition, vision rehabilitation exhibition, optometry equipment exhibition, eye care products exhibition, eye mask Exhibition
Global and Chinese market of wheelchair climbing machines 2022-2028: Research Report on technology, participants, trends, market size and share
Is there a case where sqlcdc monitors multiple tables and then associates them to sink to another table? All operations in MySQL