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.
If instead you prefer to build Qt from sources, please see 构建 Qt 源 .
开始,创建 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 2022 on 64-bit Windows, you could select MSVC 2022 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 for desktop development. You can install additional modules later.
If you also want to run your applications on Android devices, for example, you should select the default installation for mobile development.
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 |
---|---|
桌面 |
Default installation for
desktop development
.
If you want to use other than the default toolchain, such as MSVC on Windows, select Custom installation . Then select the Qt for the toolchain you want to use. |
移动设备 |
Default installation for
mobile development
.
If you only want to develop for a particular platform, select Custom installation . Then select the Qt 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 Boot to Qt section, depending on the types of devices that you want to run applications on. |
Android Automotive | Custom installation, with Qt for Android Automotive . |
Automation | Custom installation, with the necessary Qt modules and toolchains from the Qt for Automation/Qt M2M Protocols 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.
Qt Learning has a course on how to install Qt .