Qt5 super module
Go to file
Heikki Halmet bf1c196e41 Provisioning: Install Node.js for SLES 15
WebEngine requires node.js version 12 or later

Pick-to: 6.4 6.2
Change-Id: I9ff5ebbfcaf328445149e6d0b95e02dd0febf5c3
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2022-09-21 12:58:53 +03:00
cmake CMake: Normalize submodule names by stripping tqtc- prefixes 2022-04-28 19:27:59 +02:00
coin Provisioning: Install Node.js for SLES 15 2022-09-21 12:58:53 +03:00
qt3d@0ed9ac8c5d Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qt5compat@5bc4f2afdc Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtactiveqt@057429682b Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtbase@50b05e3e2a Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtcanvas3d@1319e0965f
qtcharts@7a788c0f82 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtcoap@4b677e7cda Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtconnectivity@0f87c76432 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtdatavis3d@f2c065e682 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtdeclarative@7739e9cfd0 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtdoc@8de4597ec2 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtfeedback@9ac8d8c272
qtgamepad@5fe6fd206f
qthttpserver@3fabaffc18 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtimageformats@39dfacfdb2 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtlanguageserver@0c41c090a4 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtlocation@c335c51190 qt5: update qtlocation sha 2022-07-19 18:02:46 +02:00
qtlottie@35a825c048 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtmqtt@f9909a9740 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtmultimedia@83a49fcded Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtnetworkauth@ec27270101 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtopcua@58e4facbb8 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtpim@02efef5ee6
qtpositioning@1fec022c9e Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtqa@484c7f6cdc Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtquick3d@ae0518f738 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtquick3dphysics@97774c4393 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtquicktimeline@cd62bbb9ec Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtremoteobjects@0aec0df7b8 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtrepotools@8b623958f5 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtscxml@4dc0196ee0 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtsensors@2f74baeb3f Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtserialbus@99e3b2d5ff Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtserialport@19cdcc1f5a Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtshadertools@702d344bec Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtspeech@06499fe798 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtsvg@7292b6f833 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtsystems@434af789f0
qttools@184395482f Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qttranslations@04f0db8d2f Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtvirtualkeyboard@499a65bc0e Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtwayland@4be36e9a41 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtwebchannel@450056db1c Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtwebengine@945398a4a7 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtwebglplugin@531fb30d53
qtwebsockets@9cfa2465fd Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtwebview@cd55957419 Update submodules on 'dev in qt/qt5' 2022-09-04 04:04:52 +00:00
qtxmlpatterns@05ab444844
.commit-template
.gitattributes
.gitignore
.gitmodules Add qtquick3dphysics submodule 2022-05-25 08:16:26 +03:00
.tag
CMakeLists.txt CMake: Take custom libdir into account 2022-06-16 09:28:52 +02:00
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3
LICENSE.QT-LICENSE-AGREEMENT Update LA 4.4.1 2022-04-26 20:45:32 +00:00
README.git Update README.git to mention Qt 6 2022-06-23 08:18:48 +02:00
README.md
_clang-format Make sure clang-format doesn't reformat SPDX-License-Identifier 2022-06-14 08:33:07 +02:00
conanfile_profiles.py
configure
configure.bat
configure.json
init-repository

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