Qt5 super module
Go to file
Assam Boudjelthia 10143120c1 Coin:Android: Enable tests for more modules - Part 3
This adds tests of more modules:
qtquick3d, qtremoteobjects, qtcoap, qtlottie, qtmultimedia,
qtnetworkauth, qtserialport, qtwebview.

Pick-to: 6.2 6.3
Task-number: QTBUG-88846
Fixes: QTBUG-100448
Fixes: QTBUG-100449
Change-Id: I0804b5be4bf17684a3d307e0a024304fa108af94
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2022-05-06 10:13:54 +00:00
cmake CMake: Normalize submodule names by stripping tqtc- prefixes 2022-04-28 19:27:59 +02:00
coin Coin:Android: Enable tests for more modules - Part 3 2022-05-06 10:13:54 +00:00
qt3d@6a04e91130 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qt5compat@abbef9d086 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtactiveqt@746bf440b8 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtbase@4088b27b93 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtcanvas3d@1319e0965f
qtcharts@979d7a7d91 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtcoap@242aec73d6 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtconnectivity@170840cc49 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtdatavis3d@ae9f45d15a Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtdeclarative@22605ed7ef Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtdoc@5b9a2ec194 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtfeedback@9ac8d8c272
qtgamepad@5fe6fd206f
qthttpserver@5e9012264f Add qthttpserver module as preview 2022-05-04 10:34:29 +02:00
qtimageformats@58e2f1499a Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtlanguageserver@df62fdc1fc Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtlocation@7f6ee8fa23 Update submodules on 'dev in qt/qt5' 2021-10-13 02:19:05 +00:00
qtlottie@2ecdc2719e Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtmqtt@382a910c14 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtmultimedia@5ff296c1e7 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtnetworkauth@09e099894a Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtopcua@8b12328684 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtpim@02efef5ee6
qtpositioning@ab5d1ae3e9 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtqa@a4fb1f37c7 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtquick3d@c1e88503b6 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtquicktimeline@f673baba59 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtremoteobjects@d89917f48c Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtrepotools@e3205793dc Update submodules on 'dev in qt/qt5' 2022-04-01 02:04:17 +00:00
qtscxml@ddd2d17bc5 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtsensors@be4ae39b53 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtserialbus@42b48fbd57 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtserialport@52fa7d9be1 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtshadertools@80d90727c9 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtspeech@216c984aa5 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtsvg@05ffea9775 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtsystems@434af789f0
qttools@f58392c8fc Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qttranslations@21663e38c4 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtvirtualkeyboard@7962eee50b Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtwayland@93a026432a Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtwebchannel@90d0929cd5 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtwebengine@4ca817f603 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtwebglplugin@531fb30d53
qtwebsockets@1792cb6b93 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtwebview@c12b4ebe62 Update submodules on 'dev in qt/qt5' 2022-04-26 20:45:30 +00:00
qtxmlpatterns@05ab444844
.commit-template
.gitattributes
.gitignore
.gitmodules Add qthttpserver module as preview 2022-05-04 10:34:29 +02:00
.tag
CMakeLists.txt CMake: Normalize submodule names by stripping tqtc- prefixes 2022-04-28 19:27:59 +02:00
LICENSE.GPL2 Replace LGPL2.1 only header with LGPL3 one 2021-12-19 19:47:15 +00:00
LICENSE.GPL3 Replace LGPL2.1 only header with LGPL3 one 2021-12-19 19:47:15 +00:00
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3 Replace LGPL2.1 only header with LGPL3 one 2021-12-19 19:47:15 +00:00
LICENSE.QT-LICENSE-AGREEMENT Update LA 4.4.1 2022-04-26 20:45:32 +00:00
README.git
README.md Fix code formatting in README 2021-10-28 16:29:13 +03:00
_clang-format Update _clang_format to avoid adding a space in list-initialization 2022-02-01 12:12:42 +00:00
conanfile_profiles.py Conan: Add a recipe to pack build profiles in a Conan package 2021-11-19 20:46:58 +03:00
configure
configure.bat
configure.json
init-repository Replace LGPL2.1 only header with LGPL3 one 2021-12-19 19:47:15 +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 <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.