Install Qt online (the most detailed graphic version on the entire network) - taking Qt5.15.2 Windows version as an example

Author: Kaopu Technology

Time: 2023/8/18

Version: V1.0

Note: This article is original to the author. Please be sure to contact the author before reprinting.

1. Introduction to Qt

After having been exposed to Qt for more than a few years, I found that some developers do not know enough about Qt and only stay on the surface. There are even a small number of people who think Qt is a development programming language or regard QTCreator as Qt. These understandings are wrong and too one-sided. In fact, QT is a cross-platform application development framework written in C++ language. The Qt framework contains a large number of classes that support various application programming such as GUI, database, computer network, audio and video processing, and multi-threading. Qt can be used to develop various applications for computers, servers, mobile devices, etc., especially its role in graphical user interface programs is self-evident. Qt has been developed for more than 30 years, and its functions have become more and more perfect in the process of continuous development. It is now the first choice for cross-platform application development.

Qt's so-called cross-platform will not cause problems in the running of the developed software due to different platforms. For example, if it is developed on a Windows system, the same code can be run on a Linux system without any modification or minor modifications. Its cross-platform Features accelerate the development of Qt.

2. QT installation

1. Installation method

Starting from Qt5.15, the open source version of Qt official website only provides online installation software, and will no longer provide offline installation software.

If you download the Qt5.14.2 windows version, you can directly download the offline file from the official website. The download link is:Indexof/archive/qt/5.14/5.14.2. The download interface is shown in the figure below:
Insert image description here
If you need to download the Qt version after 5.15, the official website download link is: Indexof/official_releases/qt/5.15/5.15.2 /single. The download interface is as shown below:

Insert image description here
After Qt5.15, Qt officially provides two installation methods:

  1. Install online. The installation process is simple and takes up minimal space. It is the mainstream installation method and suitable for most developers.
  2. Compile and install. The installation process is more complicated than the online installation method and takes up a large amount of memory space. It is only suitable for developers with experience in branching.

This article takes Qt5.15.2 Window as an example and uses online installation to describe the download and installation process in detail.

2. Detailed installation steps (pictures and text)

2.1 Register a Qt account

Open the browser, enter: https://www.qt.io in the input field, open the Qt official website, click on the head (can’t remember what it’s called, laugh to death...) icon, as shown in the figure below:

Insert image description here

If you already have a Qt account, enter your email and password directly. If you do not have a Qt account, click Create Qt Account to create one. As shown below:

Insert image description here

After clicking Create Qt Account, the interface is as shown below. Just enter the corresponding email address, password, confirmation password and verification code. After creating an account, you will receive a verification email from the Qt official website in your mailbox. Please fill it out in order. I won’t go into details here.

Insert image description here

2.2 Download Qt

Enter the corresponding download URL in the browser. The more recommended one is Tsinghua University Open Source Software Mirror Station:
Tsinghua University Open Source Software Mirror Station-Qt Online Download. The download interface is as shown below:

Insert image description here

Qt official website download link:Official website online download link, the interface is as shown below:

Insert image description here

Click on the red arrow and wait for a while for the download to complete. One more thing: According to the author's own download speed, there is not much difference between the two, but it is still recommended to download from the Tsinghua University open source software mirror station, because after all, the server is in China and will not be affected by other influences.

The download result is as shown in the figure below, the size is 39565KB.

Insert image description here

2.3 Installation

Double-click to open the .exe file, as shown below:

Insert image description here

Enter the email address and password registered in 2.1 and click Next, as shown in the figure below.

Insert image description here

Select the corresponding open source obligations according to the actual situation, as shown in the figure below.

Insert image description here

After selecting, click Next, as shown in the figure below.

Insert image description here

Wait for the progress bar to reach 100%, as shown in the figure below.
Insert image description here

Click Next, as shown below:

Insert image description here

After selecting the installation directory and other options, select Next:
Insert image description here

Agree to the license agreement and click Next. As shown below:

Insert image description here

Click Next, as shown below:

Insert image description here

Click Install, as shown below:

Insert image description here

Wait for the progress bar to reach 100%. Depending on the network, the download speed will vary greatly.

Insert image description here

Just click Finish.

Insert image description here

2.4 Installation results

The result of the installation is as shown below:
Insert image description here

Just click Finish.

Guess you like

Origin blog.csdn.net/appup/article/details/132367320