Qt5 super module
Go to file
Alexandru Croitor 87b043139e CMake: Partially mirror Ubuntu developer build config
Still missing the -qtlibinfix TestInfix and Documentation feature.

Task-number: QTBUG-86053
Change-Id: Ie0acc5bbdd9b2eb4fb070c59bd0e359f40b45d72
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-09-29 11:41:38 +02:00
cmake CMake: Add missing quote in qt_attribution.json 2020-03-31 11:30:05 +02:00
coin CMake: Partially mirror Ubuntu developer build config 2020-09-29 11:41:38 +02:00
qt3d@243f3037e9 Update submoduls on 'dev' 2020-09-17 07:06:09 +03:00
qt5compat@75694b3a9e Update submoduls on 'dev' 2020-09-17 07:06:09 +03: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@46c1e60989 Update submoduls on 'dev' 2020-09-17 07:06:09 +03: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@6412bcd221 Update submoduls on 'dev' 2020-09-17 07:06:09 +03:00
qtdoc@1c2f0bb9b9 Update submoduls on 'dev' 2020-09-17 07:06:09 +03: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@c9aa0aa959 Update submoduls on 'dev' 2020-09-17 07:06:09 +03: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@eeba95bcd6 Update submoduls on 'dev' 2020-09-17 07:06:09 +03: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@d2fe66fc07 Update submoduls on 'dev' 2020-09-17 07:06:09 +03:00
qtquick3d@b8f93616f4 Update submoduls on 'dev' 2020-09-17 07:06:09 +03:00
qtquickcontrols@d259898453 Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtquickcontrols2@ccade67a03 Update submoduls on 'dev' 2020-09-17 07:06:09 +03:00
qtquicktimeline@9f1d2afba5 Update submoduls on 'dev' 2020-09-17 07:06:09 +03: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@81ccb330fc Update submoduls on 'dev' 2020-09-17 07:06:09 +03:00
qtspeech@25c1b5b74c Update submodules on '5.14' in qt/qt5 2020-04-23 10:32:55 +02:00
qtsvg@e60624feb1 Update submoduls on 'dev' 2020-09-17 07:06:09 +03:00
qtsystems@434af789f0 Updated submodules. 2016-06-28 15:58:12 +00:00
qttools@01d2ebcc19 Update submoduls on 'dev' 2020-09-17 07:06:09 +03:00
qttranslations@1655aacfbe Update submoduls on 'dev' 2020-09-17 07:06:09 +03:00
qtvirtualkeyboard@e4e9ca93ca Update submodules on 'dev' in qt/qt5 2020-07-04 15:11:41 +03:00
qtwayland@11b968e392 Update submoduls on 'dev' 2020-09-17 07:06:09 +03: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: Include 3rdparty cmake dependencies in CMAKE_MODULE_PATH 2020-09-10 09:54:47 +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.