The Qt Online Installer gives you the choice of installing only the modules and tools you need to develop on a particular desktop platform and to run your applications on one or several desktop platforms, mobile or embedded devices, or MCUs.
开始,创建 Qt 帐户 . This account gives you access to a web portal where you can manage your licenses, as well as access to the forums and wikis. Also, make sure you read the Qt 许可 页面,关于您所选取的许可。
Go to your Qt account's download page. By selecting the appropriate unified Qt online installer for your OS, you can install commercial or open source versions of Qt, development tools, and other components. The online installer asks for your Qt account credentials. The installer retrieves the license attached to the account from a server and provides a list of available components corresponding to the license.
要完成安装,选择希望安装的组件并遵循安装程序操作指南。
You must select at least one Qt version for one platform that you want to run your applications on. For example, if you have installed Microsoft Visual Studio 2019 on 64-bit Windows, you could select MSVC 2019 64-bit under the Qt version you want to develop with.
However, the easiest way to install Qt for desktop development is to select the default installation. You can install additional modules later.
If you also want to run your applications on Android devices, for example, you should select a custom installation and then select a Qt for Android version in the list of components, in addition to the Qt for your desktop platform.
The following table contains examples of which components to install depending on the platforms where you want to run your applications.
To Develop For | Choose |
---|---|
Desktop | Default installation. |
移动设备 | Custom installation, with Qt for your OS and for the mobile device platform that you want to run the applications on. For example, Qt for Android or Qt for iOS . |
Embedded Devices | Custom installation, with the necessary Qt modules and toolchains from the Qt for Device Creation section, depending on the types of devices that you want to run applications on. |
Automotive | Custom installation, with the necessary Qt modules and toolchains from the Qt for Device Creation section, depending on the types of devices that you want to run applications on. |
Automation | Custom installation, with the necessary Qt modules and toolchains from the Qt for Automation section, depending on the types of devices that you want to run applications on. |
MCUs | Custom installation, with Qt for MCUs . |
To check the platform requirements, see 支持平台 .
以下 YouTube 视频给出了完整逐步安装过程:
一旦安装了 Qt,可以使用 维护工具 under <install_dir> 来添加组件、更新或移除已安装组件。
评估和开源用户可以获得帮助在 Qt 论坛 。另请参阅 使用论坛的有关帮助 wiki page.
Non-commercial users can get limited help with the installation process through Qt 支持 .
The primary support channel for commercial customers is their Qt 帐户 .
After the installation, Qt Creator opens. You can use the project wizard templates to start creating applications that run on your chosen platform.
If you want to design Qt Quick UIs, open Qt Design Studio and use the project wizard templates there.