Get and Install Qt with Qt Online Installer

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 源 .

1. 创建 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 许可 页面,关于您所选取的许可。

2. Download Qt Online Installer

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. Qt Online Installer asks for your Qt account credentials. Qt Online Installer retrieves the license attached to the account from a server and provides a list of available components corresponding to the license.

3. 安装 Qt

要完成安装,选择希望安装的组件并遵循安装程序操作指南。

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
Desktop 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 视频给出了完整逐步安装过程:

更新或移除组件

Once Qt is installed, you can use Qt Maintenance Tool 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 帐户 .

4. Create Applications

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.

Tell me more

Additional Resources

Qt Learning has a course on how to install Qt .