Qt5 super module
Go to file
Alexandru Croitor 22af804aee CMake: Reuse host artifacts for all our cross-builds
Add a new Ubuntu 20.04 host to be used for the qemu configs.
We might be able to use the RHEL 7.6 host artifacts for qemu target
configs, but i'd rather we test on the same distro / OS for both
host and target.

Use the macOS host for iOS builds.

Task-number: QTBUG-85623
Change-Id: I6305f924b843a5a832bd94e5060211583c9c7f98
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-08-25 17:39:34 +02:00
cmake CMake: Add missing quote in qt_attribution.json 2020-03-31 11:30:05 +02:00
coin CMake: Reuse host artifacts for all our cross-builds 2020-08-25 17:39:34 +02:00
qt3d@f248b8a3bc Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qt5compat@d675a522d6 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtactiveqt@35bb7f3d23 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtandroidextras@9f794be1a6 Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtbase@eb7d1cf098 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtcanvas3d@1319e0965f Update submodules on '5.12' in qt5 2019-02-05 19:16:28 +00:00
qtcharts@e948e0c9f1 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtconnectivity@60645c1ae0 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtdatavis3d@78befdb83f Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtdeclarative@6a5910c1c6 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtdoc@c197857fa9 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtdocgallery@e36e6f0abd Updated submodules. 2016-06-28 15:58:12 +00:00
qtfeedback@9ac8d8c272 Updated submodules. 2016-06-28 15:58:12 +00:00
qtgamepad@5fe6fd206f Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtgraphicaleffects@bbaccc30f7 Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtimageformats@110da1e534 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtlocation@4331bee772 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtlottie@27bcfc703e Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtmacextras@e8a235fb0e Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtmultimedia@bb64e9df20 Update submodules on '5.14' in qt/qt5 2020-04-24 09:48:03 +02:00
qtnetworkauth@03ecdd2b6c Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtpim@02efef5ee6 Updated submodules. 2016-06-28 15:58:12 +00:00
qtpurchasing@29b8e7a664 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtqa@3132fe1214 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtquick3d@beb1c0b0fa Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtquickcontrols@d259898453 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtquickcontrols2@2ba4a895a4 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtquicktimeline@2220058693 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtremoteobjects@c603dac09f Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtrepotools@9207982f37 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtscxml@103c52661f Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtsensors@5403d0f817 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtserialbus@a44ad0513f Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtserialport@f597317dbf Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtshadertools@6143482658 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtspeech@25c1b5b74c Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtsvg@316cd73be2 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtsystems@434af789f0 Updated submodules. 2016-06-28 15:58:12 +00:00
qttools@d7e89a71bb Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qttranslations@67eeb6b8d6 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtvirtualkeyboard@e4e9ca93ca Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtwayland@67a6ff0047 Update submodules on 'dev' in qt/qt5 2020-08-25 09:55:10 +00:00
qtwebchannel@e1c7e03643 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtwebengine@cda7600225 Update submodules on '5.15' in qt/qt5 2020-04-24 15:59:44 +02:00
qtwebglplugin@531fb30d53 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtwebsockets@ec60f42c57 Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtwebview@dfbe1343cd Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtwinextras@18cf8f3120 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtx11extras@76e206e0a3 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtxmlpatterns@05ab444844 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +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 Adjust Qt6.0.0 modules 2020-08-13 15:53:01 +00:00
.tag Update the git-archive export options 2012-09-05 14:33:37 +02:00
CMakeLists.txt CMake: Fix parsing of .gitmodules to be more robust 2020-06-18 12:57:51 +02:00
LICENSE.FDL Add license files mandated by (L)GPL. 2013-05-30 22:32:43 +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 enterprise license agreement v4.2.1 2019-12-18 07:20:13 +02:00
README Remove outdated archive names from README 2018-08-04 12:12:11 +00:00
README.git Replace old qt-project.org wiki with wiki.qt.io 2015-04-16 09:42:01 +00:00
_clang-format Update _clang-format definition 2019-12-18 09:55:55 +01:00
configure Make top-level configure script more portable 2017-02-24 12:19:39 +00:00
configure.bat Update copyright headers 2015-02-25 03:23:07 +00:00
configure.json automatically launch new configure system in top-level builds 2016-09-15 06:52:35 +00:00
init-repository Add clang-format-pre-commit hook 2019-10-02 23:32:53 +02:00
qt.pro fix setting QTDIR_build for default_pre.prf 2018-10-18 10:59:31 +00:00

README

HOW TO BUILD QT5
================


 Synopsis
 ========

   System requirements
   ------------------

    - Perl 5.8 or later
    - Python 2.7 or later
    - C++ compiler supporting the C++11 standard

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

   Licensing:
   ----------

    Opensource users:

        <license>        = -opensource

    Commercial users:

        <license>        = -commercial

   Linux, Mac:
   -----------

     cd <path>/<source_package>
     ./configure -prefix $PWD/qtbase <license> -nomake tests
     make -j 4

   Windows:
   --------

     Open a command prompt.
     Ensure that the following tools can be found in the path:
     * Supported compiler (Visual Studio 2012 or later,
        MinGW-builds gcc 4.9 or later)
     * Perl version 5.12 or later   [http://www.activestate.com/activeperl/]
     * Python version 2.7 or later  [http://www.activestate.com/activepython/]
     * Ruby version 1.9.3 or later  [http://rubyinstaller.org/]

     cd <path>\<source_package>
     configure -prefix %CD%\qtbase <license> -nomake tests
     nmake // jom // mingw32-make

     To accelerate the bootstrap of qmake with MSVC, it may be useful to pass
     "-make-tool jom" on the configure command line. If you do not use jom,
     adding "/MP" to the CL environment variable is a good idea.

 More details follow.

 Build!
 ======

 A typical `configure; make' build process is used.

 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.
 -nomake tests         Disable building of tests to speed up compilation
 -nomake examples      Disable building of examples to speed up compilation
 -confirm-license      Automatically acknowledge the LGPL 2.1 license.

 Example for a release build:
 (adjust the `-jN' parameter as appropriate for your system)

   ./configure -prefix $PWD/qtbase <license>
   make -j4

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

   ./configure -developer-build <license>
   make -j4

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

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

 It is possible to build selected modules with their dependencies by doing
 a `make module-<foo>'.  For example, to build only qtdeclarative,
 and the modules it depends on:

   ./configure -prefix $PWD/qtbase <license>
   make -j4 module-qtdeclarative

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


 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.

 The qt5_tool in qtrepotools has some more features which may be of interest.
 Try `qt5_tool --help'.


 Building Qt5 from git
 =====================
 See http://wiki.qt.io/Building_Qt_5_from_Git and README.git
 for more information.
 See http://wiki.qt.io/Qt_5 for the reference platforms.


 Documentation
 =============

 After configuring and compiling Qt, building the documentation is possible by running
 "make docs".

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

    make install_docs

 The documentation is installed in the path set to $QT_INSTALL_DOCS.
 Running "qmake -query" will list the value of QT_INSTALL_DOCS.

 Information about Qt 5's documentation is located in qtbase/doc/README
 or in the following page: http://wiki.qt.io/Qt5DocumentationProject

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