- Qt 6.11
- Product information
- Supported Platforms
- Qt for Linux/X11
- Qt for Linux - Alternative ways of installing Qt
- Qt 6.11.0 Reference Documentation

Requirements ◦ Building from source

# Qt for Linux - Alternative ways of installing Qt

## Overview

You can install Qt Framework as well as design and development tools on Linux from these sources:

- Qt Online Installer (Recommended).
  - Gives you access to latest versions of Qt, on the day of their release.
  - Allows you to install older versions of Qt, in parallel to newer ones.
  - Features all Qt modules, including ones that are commercial-only.
  - Preconfigures Qt versions in Qt Creator and Qt Design Studio.

  Qt Online Installer is full-featured, flexible, and fully supports commercial use cases, including shipping distribution-independent builds of your application. It is also the one supported best by The Qt Company and The Qt Project. We recommend it if you plan to develop with Qt.

- Native package managers.
  - Do not require a Qt Account.
  - Typically ship a recent version of Qt 6 (though not always the latest one).
  - Qt libraries and tools use third-party modules from the package manager, instead of bundled ones.
  - May miss some of the Qt modules (especially commercial-only ones) and tools.
  - May require additional configuration after installation.

  You can install Qt Framework, Qt Design Studio, and Qt Creator using:

  - Distribution's package manager (for Qt Framework and Qt Creator).
  - Flatpak (for Qt Design Studio and Qt Creator).

  Installing Qt Framework from native package managers is lightweight and easy to automate. It relieves you from selecting and maintaining a particular Qt version, at the expense of flexibility and control. It works best if you need to install Qt only as a dependency for a local application, or plan to make your application available via the native package manager.

## Installing Qt and Qt Creator using your distribution's package manager

Many Linux distributions provide Qt packages and Qt Creator through their package managers.

### Installing Qt on Ubuntu and Debian-based systems

Use the following commands to find and install the packages required for building Qt applications on Debian-based systems:

- To see available packages:

       apt list qt6-*dev*

- To install specific dev packages, for example, `qtbase` and `qtdeclarative`:

       sudo apt install qt6-{base,declarative}-dev

- To install all the available dev packages with the documentation, build tools, and Qt Creator:

       sudo apt install qt6-*{dev,doc}* qtcreator cmake clazy g++

See also: Enterprise Qt Debian Packages

### Installing Qt on Fedora-based systems

Use the following commands to find and install the packages required for building Qt applications on Fedora-based systems:

- To see available packages:

       dnf repoquery qt6-*devel*

- To install specific dev packages, for example, `qtbase` and `qtdeclarative`:

       sudo dnf install qt6-{qtbase,qtdeclarative}*devel*

- To install all the available dev packages with the documentation, build tools, and Qt Creator:

       sudo dnf install qt6-*{devel,doc}* qt-creator

### Installing Qt on openSUSE-based systems

Use the following commands to find and install the packages required for building Qt applications on openSUSE-based systems:

- To see available packages:

       zypper se qt6*devel*

- To install specific devel packages, for example, `base` and `declarative`:

       sudo zypper in qt6-{base,declarative}*devel

- To install all the available devel packages with the documentation, and Qt Creator:

       sudo zypper in qt6*{devel,docs,creator}*

## Installing Qt Creator and Qt Design Studio using Flatpak

You can install Qt Creator and Qt Design Studio as Flatpak applications from the Flathub repository:

- Qt Creator is available at https://flathub.org/en/apps/io.qt.QtCreator.
- Qt Design Studio is available at https://flathub.org/en/apps/io.qt.qtdesignstudio.

Refer to your distribution documentation for instructions on how to install Flatpak applications on your system.

## Additional configuration

After installing Qt Framework and Qt Creator from your distribution's package manager, you may need to configure your development environment. For example, you may want to create and configure Qt versions and kits in Qt Creator.

Refer to the Qt Creator: Configuring Qt Creator page for details.