当前位置:网站首页>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 ~
边栏推荐
猜你喜欢

用两个栈实现一个队列【C语言】

ACM winter vacation training 5

7、二分法——寻找一组重复或者有序但是旋转的数组

15. Judge whether the target value exists in the two-dimensional array

SQL Server 2016学习记录 --- 连接查询

Aqua Data Studio 18.5.0 export insert statement
![Database security - create login user + configure permissions [notes]](/img/02/0c3eb542593e8e0a3a62db75c52850.png)
Database security - create login user + configure permissions [notes]

Uni app project directory, file function introduction and development specification

15、判断二维数组中是否存在目标值

Aqua Data Studio 18.5.0导出insert语句
随机推荐
用K-means聚类分类不同行业的关税模型
[wechat applet] project practice - lottery application
Bitwise and, or, XOR and other operation methods
3. Print the linked list in reverse order with the array
The IPO of SMIC International Technology Innovation Board passed smoothly, and its market value is expected to exceed 200billion!
SQL Server 2016 learning records - data update
12、双指针——合并两个有序链表
IDEA打包jar包及运行jar包命令
2019年9月PAT甲级题目
管道、管程、管态的区别
按位与、或、异或等运算方法
string matching
Go 内存模型 (2014年5月31日版本)
中兴通讯总裁徐子阳:5nm芯片将在2021年推出
集群为什么需要root权限
[cloud based co creation] Huawei cloud: metastudio digital content production line, which seamlessly integrates the virtual world with the real world
Database security - create login user + configure permissions [notes]
印度计划禁用中国电信设备!真离得开华为、中兴?
7、二分法——寻找一组重复或者有序但是旋转的数组
Install MySQL under centos7, and the online articles are not accurate