Qt5 super module
Go to file
Qt Submodule Update Bot 4d5e420009 Update submodules on 'dev' in qt/qt5
Change-Id: If12af41e8c677af16f92e59f713ab4e7fecd9fc7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-05-25 07:50:50 +03:00
cmake Fix ignored submodules if a submodule does not have a dependency.yaml 2021-03-31 10:56:39 +02:00
coin Fix used Ubuntu version for Pyside6 license check 2021-05-24 10:21:29 +00:00
qt3d@a2f409ded1 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qt5compat@d4bf9f66f9 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtactiveqt@81e418ded4 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtandroidextras@87b8649c07 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtbase@13c8db52a2 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtcanvas3d@1319e0965f
qtcharts@30331acfa7 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtcoap@82aa2a2a7b Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtconnectivity@476c531d18 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtdatavis3d@60339e4bbd Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtdeclarative@05e684cf00 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtdoc@4a021ed550 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtfeedback@9ac8d8c272
qtgamepad@5fe6fd206f
qtgraphicaleffects@bbaccc30f7 Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtimageformats@313d1812d3 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtlocation@9bc9ddf2ab Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtlottie@273b4dabd1 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtmqtt@d33248c05a Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtmultimedia@bb64e9df20 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtnetworkauth@3a359c7e31 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtopcua@723a02b235 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtpim@02efef5ee6
qtpurchasing@29b8e7a664
qtqa@87c606a11e Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtquick3d@88055b0dd5 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtquickcontrols@d259898453 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtquickcontrols2@40ee211880 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtquicktimeline@1b97be1cfb Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtremoteobjects@48924873d6 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtrepotools@63796e0140 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtscxml@c69f5b3b9b Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtsensors@0e125b2caa Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtserialbus@e058396b4a Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtserialport@1e857f51bc Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtshadertools@fa040b42d7 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtspeech@25c1b5b74c
qtsvg@8421ace89e Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtsystems@434af789f0
qttools@b388defafb Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qttranslations@0a863ea4ff Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtvirtualkeyboard@0a6885c554 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtwayland@b2070e8be9 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtwebchannel@f6020e4c78 Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtwebengine@cda7600225 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtwebglplugin@531fb30d53 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtwebsockets@6f81863c1c Update submodules on 'dev' in qt/qt5 2021-05-25 07:50:50 +03:00
qtwebview@dfbe1343cd
qtwinextras@18cf8f3120 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtxmlpatterns@05ab444844 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
.commit-template Add Pick-to footer for cherry-pick bot to commit template 2020-04-20 11:04:27 +02:00
.gitattributes
.gitignore
.gitmodules Restore qtwebchannel as a addon in qt5.git 2021-05-18 17:18:41 +03:00
.tag
CMakeLists.txt CMake: Use qtbase's version as the top-level project version 2021-04-15 13:27:10 +02:00
LICENSE.FDL
LICENSE.GPL3-EXCEPT Change license of top-level configure, configure.bat 2020-09-28 12:39:17 +02:00
LICENSE.GPLv2
LICENSE.GPLv3
LICENSE.LGPLv3
LICENSE.LGPLv21
LICENSE.QT-LICENSE-AGREEMENT
README.git
README.md Make README a proper Markdown file 2021-01-13 08:53:39 +01:00
_clang-format
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
init-repository Update documentation for init-repository 2021-03-25 15:39:05 +01: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.