Qt5 super module
Go to file
Simo Fält 050897a64b Provisioning: Use bullseye-backports repo from archive
Bullseye-backports has reached end-of-life and is no longer
supported or updated.

Change-Id: If154155507e159333c0d0b638fc6910b1814665a
Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
(cherry picked from commit 8882c8cac4)
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
2025-08-04 06:53:11 +00:00
.github Doc: Create a CONTRIBUTING.md file 2023-12-12 07:06:11 +00:00
LICENSES Add license directory and update remaining license format in coin 2023-09-02 13:58:24 +02:00
cmake Fix the typo in list(APPEND command 2024-05-08 11:25:42 +02:00
coin Provisioning: Use bullseye-backports repo from archive 2025-08-04 06:53:11 +00:00
qt3d@d950baadb5 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qt5compat@da69ae3f9b Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtactiveqt@feec3bc8ae Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtbase@b73e06e937 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtcanvas3d@1319e0965f Update submodules on 'dev' in qt5 2019-01-11 07:40:26 +00:00
qtcharts@716dac3c50 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtcoap@26336de89b Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtconnectivity@aea879d0e3 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtdatavis3d@84142aba30 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtdeclarative@3b5431b9ed Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtdoc@3a367d85f5 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtfeedback@9ac8d8c272 Updated submodules. 2016-06-28 15:58:12 +00:00
qtgamepad@5fe6fd206f Update submodules on 'dev' in qt/qt5 2019-10-26 14:01:00 +02:00
qtgraphs@7a30c1aefe Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtgrpc@3bf8802e0c Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qthttpserver@2ea6277c41 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtimageformats@ebdf5742f0 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtlanguageserver@2df22570c3 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtlocation@b19f329971 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtlottie@ed374ed75e Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtmqtt@3f59984e6c Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtmultimedia@e8ef64dd80 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtnetworkauth@29c3972aa0 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtopcua@6d8ea69100 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtpim@02efef5ee6 Updated submodules. 2016-06-28 15:58:12 +00:00
qtpositioning@0c41f155ac Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtqa@0d549d19c4 Update submodules on '6.7 in qt/qt5' 2024-06-17 12:45:16 +03:00
qtquick3d@bd802f1d00 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtquick3dphysics@e8df03cb0a Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtquickeffectmaker@272c611057 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtquicktimeline@46a0a7960f Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtremoteobjects@2cb114e989 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtrepotools@5bede66a74 Update submodules on '6.7 in qt/qt5' 2024-08-15 19:40:40 +00:00
qtscxml@9d2dc049e8 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtsensors@898f041904 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtserialbus@3f70308104 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtserialport@29fd277874 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtshadertools@7c4bec6c8d Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtspeech@af3611edb6 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtsvg@fa7b9ba71e Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtsystems@434af789f0 Updated submodules. 2016-06-28 15:58:12 +00:00
qttools@b84429bff5 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qttranslations@c62e24d6dd Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtvirtualkeyboard@6a45a5a32b Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtwayland@0d543588bf Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtwebchannel@b3897a1e47 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtwebengine@a552bffd34 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtwebglplugin@531fb30d53 Update submodules on 'dev' in qt/qt5 2019-10-26 14:01:00 +02:00
qtwebsockets@5ecf44f367 Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtwebview@bf444bc72a Update submodules on '6.7 in qt/qt5' 2024-09-06 18:36:13 +00:00
qtxmlpatterns@05ab444844 Update submodules on 'dev' in qt/qt5 2019-10-26 14:01:00 +02:00
.commit-template Update commit template for Reopens footer 2024-07-26 15:05:41 +00:00
.gitattributes Turn off line ending conversion for .commit-template 2017-07-21 05:44:28 +00:00
.gitignore Add file names to .gitignore 2023-07-20 20:13:40 +03:00
.gitmodules Adjust submodule branches 2023-12-11 08:03:21 +02:00
.tag Update the git-archive export options 2012-09-05 14:33:37 +02:00
CMakeLists.txt Avoid collecting dependencies from modules that were explicitly skipped 2024-05-08 11:25:39 +02:00
CONTRIBUTING.md Doc: Create a CONTRIBUTING.md file 2023-12-12 07:06:11 +00:00
README.git Update README.git to mention Qt 6 2022-06-23 08:18:48 +02:00
README.md README.md: Update MinGW requirement 2024-04-08 16:44:34 +00:00
README.md.template Doc: Create README template 2023-09-23 10:27:29 +02:00
_clang-format Add .proto files format to _clang-format 2023-09-11 09:03:26 +02:00
configure Add license directory and update remaining license format in coin 2023-09-02 13:58:24 +02:00
configure.bat Add license directory and update remaining license format in coin 2023-09-02 13:58:24 +02:00
configure.json automatically launch new configure system in top-level builds 2016-09-15 06:52:35 +00:00
init-repository Update license header to SPDX format 2023-12-12 07:06:11 +00:00

README.md

HOW TO BUILD Qt 6

Synopsis

System requirements

  • C++ compiler supporting the C++17 standard
  • CMake
  • Ninja
  • Python 3

For more details, see also https://doc.qt.io/qt-6/build-sources.html

Linux, Mac:

cd <path>/<source_package>
./configure -prefix $PWD/qtbase
cmake --build .

Windows:

  1. Open a command prompt.
  2. Ensure that the following tools can be found in the path:
cd <path>\<source_package>
configure -prefix %CD%\qtbase
cmake --build .

More details follow.

Build!

Qt is built with CMake, and a typical configure && cmake --build . build process is used.

If Ninja is installed, it is automatically chosen as CMake generator.

Some relevant configure options (see configure -help):

  • -release Compile and link Qt with debugging turned off.
  • -debug Compile and link Qt with debugging turned on.

Example for a release build:

./configure -prefix $PWD/qtbase
cmake --build .

Example for a developer build: (enables more autotests, builds debug version of libraries, ...)

./configure -developer-build
cmake --build .

See output of ./configure -help for documentation on various options to configure.

The above examples will build whatever Qt modules have been enabled by default in the build system.

It is possible to build selected repositories with their dependencies by doing a ninja <repo-name>/all. For example, to build only qtdeclarative, and the modules it depends on:

./configure
ninja qtdeclarative/all

This can save a lot of time if you are only interested in a subset of Qt.

Hints

The submodule repository qtrepotools contains useful scripts for developers and release engineers. Consider adding qtrepotools/bin to your PATH environment variable to access them.

Building Qt from git

See http://wiki.qt.io/Building_Qt_6_from_Git and README.git for more information. See http://wiki.qt.io/Qt_6 for the reference platforms.

Documentation

After configuring and compiling Qt, building the documentation is possible by running

cmake --build . --target docs

After having built the documentation, you need to install it with the following command:

cmake --build . --target install_docs

The documentation is installed in the path specified with the configure argument -docdir.

Information about Qt's documentation is located in qtbase/doc/README

Note: Building the documentation is only tested on desktop platforms.