Qt5 super module
Go to file
Tarja Sundqvist ddc22d5d86 Merge Qt 6.2.13 opensource release
Change-Id: I6f1de75e65bf5d689f37fa14b9722b79eff564ff
2025-09-11 22:30:01 +03:00
cmake Fix ignored submodules if a submodule does not have a dependency.yaml 2021-03-31 10:56:39 +02:00
coin Remove duplicate MinGW environment variables 2022-10-11 05:23:10 +00:00
qt3d@c07e67afc4 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qt5compat@e32f3df69e Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtactiveqt@5ef9e2421f Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtbase@8c8e225029 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtcanvas3d@1319e0965f Update submodules on 'dev' in qt5 2019-01-11 07:40:26 +00:00
qtcharts@f629cc2be7 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtcoap@ff863f80ae Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtconnectivity@0c4ef1c881 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtdatavis3d@8a9199983e Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtdeclarative@c6fdadd916 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtdoc@dfe601c841 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03: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
qtimageformats@282852e3ef Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtlocation@6db775f6d9 Merge Qt 6.2.6 opensource release 2023-09-26 11:34:36 +03:00
qtlottie@bf18422ed0 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtmqtt@c1e3a57334 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtmultimedia@1180358ed7 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtnetworkauth@f8553ff68b Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtopcua@cc0c2f2096 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtpim@02efef5ee6 Updated submodules. 2016-06-28 15:58:12 +00:00
qtpositioning@7864626267 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtqa@42efb3e1f1 Update submodules on '6.2 in qt/qt5' 2022-04-12 01:28:22 +00:00
qtquick3d@3f572ba311 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtquicktimeline@97d6847372 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtremoteobjects@810da02320 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtrepotools@e3205793dc Update submodules on '6.2 in qt/qt5' 2022-04-01 02:39:04 +00:00
qtscxml@02725241c2 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtsensors@12372714b0 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtserialbus@e0115c4bcb Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtserialport@b85ce486ea Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtshadertools@4e8c28a3dc Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtspeech@25c1b5b74c Update submodules on 'dev' in qt/qt5 2019-10-26 14:01:00 +02:00
qtsvg@0463e412ee Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtsystems@434af789f0 Updated submodules. 2016-06-28 15:58:12 +00:00
qttools@d000041a23 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qttranslations@3f7dc984d3 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtvirtualkeyboard@a17465d4ff Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtwayland@185031c88a Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtwebchannel@af3e2aff13 Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtwebengine@e34a05ecf0 Update submodules on '6.2 in qt/qt5' 2022-04-12 01:28:22 +00:00
qtwebglplugin@531fb30d53 Update submodules on 'dev' in qt/qt5 2019-10-26 14:01:00 +02:00
qtwebsockets@3316e09baa Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtwebview@3004cb63cd Merge Qt 6.2.13 opensource release 2025-09-11 22:30:01 +03:00
qtxmlpatterns@05ab444844 Update submodules on 'dev' in qt/qt5 2019-10-26 14:01:00 +02:00
.commit-template Add Pick-to footer for cherry-pick bot to commit template 2020-04-20 11:04:27 +02:00
.gitattributes Turn off line ending conversion for .commit-template 2017-07-21 05:44:28 +00:00
.gitignore Add *.pro.user* to .gitignore 2017-05-25 21:34:29 +00:00
.gitmodules Update qtlocation dependencies 2021-11-01 21:26:09 +00:00
.tag Update the git-archive export options 2012-09-05 14:33:37 +02:00
CMakeLists.txt Set QT_SUPERBUILD early 2022-03-21 16:10:27 +00:00
LICENSE.FDL Add license files mandated by (L)GPL. 2013-05-30 22:32:43 +02:00
LICENSE.GPL3-EXCEPT Change license of top-level configure, configure.bat 2020-09-28 12:39:17 +02:00
LICENSE.GPLv2 Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit" 2016-06-20 16:35:21 +00:00
LICENSE.GPLv3 Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit" 2016-06-20 16:35:21 +00:00
LICENSE.LGPLv3 Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit" 2016-06-20 16:35:21 +00:00
LICENSE.LGPLv21 Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit" 2016-06-20 16:35:21 +00:00
LICENSE.QT-LICENSE-AGREEMENT Update LA 4.4.1 2022-04-06 16:49:53 +00:00
README.git Replace old qt-project.org wiki with wiki.qt.io 2015-04-16 09:42:01 +00:00
README.md Make README a proper Markdown file 2021-01-13 08:53:39 +01:00
_clang-format Update _clang-format definition 2019-12-18 09:55:55 +01:00
conanfile_profiles.py Conan: Add a recipe to pack build profiles in a Conan package 2021-11-20 04:33:43 +00:00
configure configure: Let shell deal with errexit and xtrace 2021-03-18 12:45:24 +01:00
configure.bat Change license of top-level configure, configure.bat 2020-09-28 12:39:17 +02:00
configure.json automatically launch new configure system in top-level builds 2016-09-15 06:52:35 +00:00
init-repository Fix --mirror option for init-repository 2021-05-31 10:58:48 +00:00

README.md

HOW TO BUILD Qt6

Synopsis

System requirements

  • CMake 3.18 or later
  • Perl 5.8 or later
  • Python 2.7 or later
  • C++ compiler supporting the C++17 standard

It's recommended to have ninja 1.8 or later installed.

For other platform specific requirements, please see section "Setting up your machine" on: http://wiki.qt.io/Get_The_Source

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