Qt5 super module
Go to file
Tony Sarajärvi 61e28c4e57 Add MinGW developer build with testing and build of examples
Pick-to: 6.0
Task-number: QTQAINFRA-3758
Change-Id: I8f1fc88175b91848b47ab8e794ac252c88221aa5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2021-01-07 05:37:51 +00:00
cmake Mark 'CMake Topological Sort' attribution as tools related 2020-12-04 11:25:00 +00:00
coin Add MinGW developer build with testing and build of examples 2021-01-07 05:37:51 +00:00
qt3d@dd698034fd Update submodules on 'dev' in qt/qt5 2020-10-12 19:28:10 +03:00
qt5compat@7928df904e Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtactiveqt@35bb7f3d23 Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtandroidextras@9f794be1a6 Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtbase@8fa91c75ad Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtcanvas3d@1319e0965f Update submodules on '5.12' in qt5 2019-02-05 19:16:28 +00:00
qtcharts@e948e0c9f1 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtconnectivity@60645c1ae0 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtdatavis3d@78befdb83f Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtdeclarative@0d71722fdb Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtdoc@879b55c587 Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02: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.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtgraphicaleffects@bbaccc30f7 Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtimageformats@7cb70c7990 Update submodules on 'dev' in qt/qt5 2020-10-12 19:28:10 +03:00
qtlocation@4331bee772 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01: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.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtmultimedia@bb64e9df20 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtnetworkauth@e151a7afc6 Update submodules on 'dev' in qt/qt5 2020-10-12 19:28:10 +03:00
qtpim@02efef5ee6 Updated submodules. 2016-06-28 15:58:12 +00:00
qtpurchasing@29b8e7a664 Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtqa@cf9345ad01 Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtquick3d@65113124f3 Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtquickcontrols@d259898453 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtquickcontrols2@bc0ce75242 Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtquicktimeline@3523c526f6 Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtremoteobjects@c603dac09f Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtrepotools@af6d5225bc Update submodules on 'dev' in qt/qt5 2021-01-06 23:15:23 +02:00
qtscxml@103c52661f Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtsensors@5403d0f817 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtserialbus@a44ad0513f Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtserialport@f597317dbf Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtshadertools@47300177f6 Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtspeech@25c1b5b74c Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtsvg@715805088a Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtsystems@434af789f0 Updated submodules. 2016-06-28 15:58:12 +00:00
qttools@7691cf0e68 Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qttranslations@2f5585bfed Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtvirtualkeyboard@e4e9ca93ca Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtwayland@c520445acf Update submodules on 'dev' in qt/qt5 2021-01-07 06:52:43 +02:00
qtwebchannel@e1c7e03643 Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +01: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@ec60f42c57 Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtwebview@dfbe1343cd Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +01:00
qtwinextras@18cf8f3120 Update submodules on '5.15' in qt/qt5 2020-02-25 08:24:28 +01:00
qtx11extras@76e206e0a3 Update submodules on '5.15' in qt/qt5 2020-02-07 08:12:38 +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 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 Remove unnecessary add-ons from .gitmodules 2020-10-12 19:28:10 +03:00
.tag Update the git-archive export options 2012-09-05 14:33:37 +02:00
CMakeLists.txt CMake: Fix fuzzer-no-link check for super builds 2020-11-19 12:57:58 +01: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 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 Change license of top-level configure, configure.bat 2020-09-28 12:39:17 +02: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 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.