当前位置:网站首页>QT generation Exe file and run without QT environment (enigma virtual box for green executable software packaging) graphic tutorial
QT generation Exe file and run without QT environment (enigma virtual box for green executable software packaging) graphic tutorial
2022-07-28 10:32:00 【Bald but naturally】
Qt Version
Welcome to correct ~
Speak freely ~
One 、 take Debug Switch to Release, Recompile and run 
Two 、Release It will generate .exe file , stay project ——Build directory The directory of the generated files can be found in ( As shown in the figure below ), According to the directory, you can find .exe file .(.exe The file is in the release In the folder )
here .exe The file cannot be run , Because of the lack of Qt Components . Next we will Qt Components and .exe Put the files in a folder .
3、 ... and 、 Create a new folder by yourself , Take what you found in the previous step .exe file copy To the new folder .
Pictured : I created a new folder on the desktop :105
Four 、win10 Search under system Qt As shown in the figure below , Click to enter 
After entering, as shown in the figure 
5、 ... and 、 Enter the command line cd /d( Note blank space ) ,copy The newly created folder directory is pasted behind ( Note blank space ), enter 
6、 ... and 、 Enter the command line windeployqt + The program name , As shown in the figure 
7、 ... and 、 Go back to the new folder , appear Qt Library file . Now you can run .exe File without downloading Qt
8、 ... and 、 download Enigma Virtual Box(baidu There is , Very small )

The lower right corner “ file option ” Check the compressed file 
Select the main program with package ( That is, the above generated .exe file );
Select the save as path ;
Will need and .exe The file enclosed with the file is dragged into the middle , Directly drag the entire folder generated in the above steps . Pictured :
Finally, execute the packet ,over!
As it comes ~
Praise it ~
边栏推荐
- Troubleshooting of tool failure caused by Chinese characters in PT kill query
- SQL Server 2016 学习记录 --- 嵌套查询
- Why does the cluster need root permission
- Record a parent-child project in idea, modify the name of project and module, and test it personally!
- It is said that the global semiconductor equipment giant may build a joint venture factory in Shanghai!
- Bitwise and, or, XOR and other operation methods
- India plans to ban China Telecom equipment! Can we really do without Huawei and ZTE?
- 中芯国际科创板IPO顺利过会,市值有望突破2000亿!
- Typora tutorial
- Hurun released the 2020 top 10 Chinese chip design private enterprises: Huawei Hisilicon did not appear on the list!
猜你喜欢

SQL Server 2016 learning records - data update

逆元&组合数&快速幂

PHP generates QR code (learning)

C language secondary pointer explanation and example code

C语言 二级指针详解及示例代码

Get to know SuperMap idesktop for the first time

14、双指针——盛最多水的容器

安装office自定义项 安装期间出错 解决办法

SuperMap iserver publishing management and calling map services

机器学习--手写英文字母1--分类流程
随机推荐
集群为什么需要root权限
Bitwise and, or, XOR and other operation methods
pt-kill 查询中包含中文字符 导致工具失效的排查
机器学习--手写英文字母3--工程特点
20200229训练赛 L1 - 2 删除字符串中的子串 (20分)
ACM寒假集训#5
a different object with the same identifier value was already associated with the session
Differences among pipes, pipe passes and pipe States
6. Double pointer -- the sum of the two numbers of the incremental array is equal to the target number
20200217训练赛 L1 - 7 2019来了 (20分)
3. Print the linked list in reverse order with the array
KingbaseES V8R6 JDBC 能否使用VIP ?
[wechat applet] project practice - lottery application
Why does the cluster need root permission
Detailed explanation of thread synchronization volatile and synchronized
SQL Server 2016 学习记录 --- 数据更新
Codeforces Round #614 (Div. 2) B. JOE is on TV!
Add new startup logo and startup / shutdown animation in mt6735
2021-10-13arx
13、哈希表——两个链表第一个公共节点