当前位置:网站首页>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 .
边栏推荐
- Global and Chinese markets of general purpose centrifuges 2022-2028: Research Report on technology, participants, trends, market size and share
- General process of machine learning training and parameter optimization (discussion)
- ftp上传文件时出现 550 Permission denied,不是用户权限问题
- "Hands on learning in depth" Chapter 2 - preparatory knowledge_ 2.3 linear algebra_ Learning thinking and exercise answers
- High number_ Vector algebra_ Unit vector_ Angle between vector and coordinate axis
- Follow the mouse's angle and keyboard events
- Advanced technology management - what is the physical, mental and mental strength of managers
- Lecture 4 of Data Engineering Series: sample engineering of data centric AI
- 在GBase 8c数据库中使用自带工具检查健康状态时,需要注意什么?
- Spark accumulator
猜你喜欢
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23
Pat grade a 1033 to fill or not to fill
数据工程系列精讲(第四讲): Data-centric AI 之样本工程
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
Multi function event recorder of the 5th National Games of the Blue Bridge Cup
Initial understanding of pointer variables
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12
2022 China eye Expo, Shandong vision prevention and control exhibition, myopia, China myopia correction Exhibition
Ue4- how to make a simple TPS role (II) - realize the basic movement of the role
随机推荐
【MySQL 15】Could not increase number of max_open_files to more than 10000 (request: 65535)
球面透镜与柱面透镜
2022年版图解网络PDF
Prepare for the autumn face-to-face test questions
从顶会论文看2022年推荐系统序列建模的趋势
RDD conversion operator of spark
更改对象属性的方法
Bigder: I felt good about the 34/100 interview, but I didn't receive the admission
Httprunnermanager installation (III) - configuring myql Database & initialization data under Linux
更换gcc版本后,编译出现make[1]: cc: Command not found
UE4 - how to make a simple TPS role (I) - create a basic role
High number_ Vector algebra_ Unit vector_ Angle between vector and coordinate axis
The third level of C language punch in
HDU_ p1237_ Simple calculator_ stack
在GBase 8c数据库中使用自带工具检查健康状态时,需要注意什么?
vs code保存时 出现两次格式化
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22
模板_求排列逆序对_基于归并排序
2022.02.13
Reset nodejs of the system