当前位置:网站首页>Installation configuration of QT under Win10 (available for personal testing)
Installation configuration of QT under Win10 (available for personal testing)
2022-08-06 13:36:00 【L**】
文章目录
Win10下 QT的安装配置 (亲测可用)
一、QT安装
QTVersions can be roughly divided into两种,一种是qt5.9之前的版本,分为MinGW和msvc两种版本,Each version needs to be downloaded and used separately,安装包比较小,But it is not very friendly for using two versions and beginners,After all, beginners are rarely rightQTinstallation and the compilers used internally.
因此以QT5.9以后版本为例,The current previous version and 5.9Subsequent versions are similar.
- 首先下载QT的安装包,It doesn't matter which version of the installation package to download,毕竟QTare used as tools,一般都是使用QTAnd use it with some other libraries or packages.QT下载链接如下:http://download.qt.io/archive/qt/
- win10版本安装,It is a normal software installation,需要注意的是,There are many installation tutorials on the Internet nowskip登录这一选项,Looks like I'm doing itQT安装时,QT已经把skipThis option is removed了,Maybe some installation packages left over from history are okskip登录,But I usually download the official one,So there is no such installation package,这个登录其实很简单,Just start registering oneQT账号,Then log in to install directly,到目前为止,我发现的缺点That is, the registered mailbox will receive a message from time to timeQT的推送,Nothing else was found.




- Next select Install Components,就是重点了,当然,各位Hard disk capacity is relatively large,CPU比较好,Or look troublesome,You can choose to select all,这个肯定没问题.However, it is recommended to choose only the parts you need,Because all are installed,Not only the hard disk memory,而且在QTRunning time will affect the running speed more or less,Increase unnecessary memory consumption.
QTComponents are detailed below:
用于 windows 平台上的
MSVC编译器模块,如msvc2013 64-bit和msvc2015 64-bit等.要安装 MSVC 编译器的模块,需要计算机上已经安装相应版本的 Visual Studio.MinGW 5.3.0 32 bit编译器模块.MinGW 是 Minimalist GNU for Windows 的缩写,MinGW是 Windows 平台上使用的 GNU 工具集导入库的集合.用于
UWP编译的模块.UWP 是 Windows 10 中Universal Windows Platform的简称,有不同编译器类型的 UWP.用于
Android平台的模块,如Android x86和Android ARMv7.Sources模块是 Qt 的源程序.Qt Charts是二维图表模块,用于绘制柱状图、饼图、曲线图等常用二维图表.Qt Data Visualization是三维数据图表模块,用于数据的三维显示,如散点的三维空间分布、三维曲面等.Qt Purchasing、Qt WebEngine、Qt Network Auth(TP)等其他模块,括号里的TP表示技术预览(Technology Preview).Qt Scritp(Deprecated)是脚本模块,括号里的“Deprecated”表示这是已经过时的模块.Tools节点下面是一些工具软件,包括内容如下:CDB Debugger是VS的编译工具,上face selectedMSVCThe following needs to be selected.MinGW 5.3.0是 MinGW 编译工具链.Strawberry Perl是一个 Perl 语言工具.


个人建议,在Windows系统下,单纯使用QT进行编译,or when using the interface,采用msvc和CDB Debugger搭配,相比于MinGW更为方便,毕竟VSThe compiler is more powerful.MinGWMainly used for cross compilation.
The last is normal installation,Then the installation ends.
二、QT安装问题:
QT安装中,There will inevitably be various problems,我只列举一部分,Other problems can be found by yourself
1. 环境变量问题
Generally follow the above tutorial,安装结束后,就可以使用,But there are some special computers,Environment variables need to be configured separately,具体原因不详,I only list the environment variables that need to be added as follows:
msvc版本:
D:\Qt5.10.1\5.10.1\msvc2015_64\bin
D:\Qt5.10.1\Tools\QtCreator\bin
MinGW版本:
D:\Qt5.10.1\5.10.1\mingw73_32\bin
D:\Qt5.10.1\Tools\mingw730_32\bin
2. QTThe build kit cannot automatically detect the compiler
一般情况下,QTThe build kits are auto-detected,不需要我们手动配置,But some special cases(We don't know what the reason is,But for this to happen, the build kit must be empty,Or a red exclamation mark),The build kit needs to be configured manually.



边栏推荐
猜你喜欢

Multiple knapsack problem ← scale hour can be transformed into 0-1 knapsack problem

Kubernetes daily troubleshooting

Wang Shuang Assembly Language Chapter 6: Programs Containing Multiple Segments

TensorRT详细入门指南

接口的安全设计三要素:ticket,签名,时间戳

redis数据类型及常用命令

leetcode经典例题——滑动窗口最大值

双非研究生值不值得报考?这些优势你还不知道?

为什么 DeFi 中的安全事件这么多?

Jetpack Compose 到底优秀在哪里?
随机推荐
密码学系列之:PEM和PKCS7,PKCS8,PKCS12
哈工大博士历时半年整理的《Pytorch常用函数手册》开放下载!内含200余个函数!...
Golang sync.Once
eventfd和__thread的应用
[MySQL - Transaction] Four Features and Isolation Levels
GDB/MI 命令总结
Golang sync.Pool
动手学深度学习_ResNet
Total Software Deployment manages software deployment for your enterprise network
The "Pytorch Common Functions Manual" compiled by Dr. Harbin Institute of Technology for half a year is open for download!Contains more than 200 functions! …
unity2D横版游戏教程10-场景控制
Web page side IM products RainbowChat - Web v4.1 version has been released
解决spacedesk卸载/重装软件时显示 指定的账户已存在
SQL 注入复习总结
SparkStreaming 案例实操 完整使用 (第十七章)
解决创建虚拟机时No DEFAULT or UI configuration directive found问题
PHP+HTML+MySQL realizes login error
IO的阻塞和非阻塞、同步和异步
Promrtheus etcd 监控
Kubernetes日常故障解决