Qt5 super module
Go to file
Qt Submodule Update Bot b06caee4fe Updated submodules.
Change-Id: I79a8c1eef1e8dcd8e365a1448f111b3d039637cb
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
2012-01-05 22:44:20 +01:00
gnuwin32 Long live the qt5 Qt repository 2011-04-27 12:34:00 +02:00
qlalr@a06d43173c Updated submodules. 2012-01-05 22:44:20 +01:00
qt3d@aedf27c0aa Updated submodules. 2011-12-21 23:35:35 +01:00
qtactiveqt@fac53e23a7 Updated submodules. 2011-12-12 07:42:07 +01:00
qtbase@c355c300d9 Updated submodules. 2012-01-05 22:44:20 +01:00
qtconnectivity@bd1496d2d2 Updated submodules. 2012-01-05 22:44:20 +01:00
qtdeclarative@29d2d20be0 Updated submodules. 2012-01-05 22:44:20 +01:00
qtdoc@91de314a5a Updated submodules. 2012-01-05 22:44:20 +01:00
qtdocgallery@bcbf11568f Updated submodules. 2012-01-05 22:44:20 +01:00
qtfeedback@69df5a9fd6 Updated submodules. 2012-01-05 22:44:20 +01:00
qtjsondb@bc3956c1b9 Updated submodules. 2012-01-05 22:44:20 +01:00
qtlocation@2bef5e3af4 Updated submodules. 2012-01-05 22:44:20 +01:00
qtmultimedia@3910efbda6 Updated submodules. 2012-01-05 22:44:20 +01:00
qtphonon@ad7b2c6a6b Updated submodules. 2012-01-05 22:44:20 +01:00
qtpim@8736b5d63e Updated submodules. 2012-01-05 22:44:20 +01:00
qtqa@f33e9857a7 Updated submodules. 2012-01-05 22:44:20 +01:00
qtquick3d@5fc8a84243 Updated submodules. 2011-12-16 12:47:19 +01:00
qtrepotools@b79cb67028 Updated submodules. 2012-01-05 22:44:20 +01:00
qtscript@e1d4fabc5d Updated submodules. 2011-12-19 00:53:47 +01:00
qtsensors@9e1492ec01 Updated submodules. 2012-01-05 22:44:20 +01:00
qtsvg@db6a1884b7 Updated submodules. 2012-01-05 22:44:20 +01:00
qtsystems@6183a5aa52 Updated submodules. 2012-01-05 22:44:20 +01:00
qttools@5edbf9d918 Updated submodules. 2012-01-02 23:01:35 +01:00
qttranslations@e5a094ea0b Updated submodules. 2011-11-22 15:24:06 +01:00
qtwayland@209c3bab99 Updated submodules. 2012-01-05 22:44:20 +01:00
qtwebkit@d99e465701 Updated submodules. 2011-07-26 22:26:14 +02:00
qtwebkit-examples-and-demos@5351913f23 Updated submodules. 2011-08-25 06:13:40 +02:00
qtxmlpatterns@d8370adf6b Updated submodules. 2011-12-22 23:00:49 +01:00
.commit-template adjust commit template 2011-12-13 16:55:25 +01:00
.gitignore Remove obsolete testlib files from .gitignore 2011-08-24 05:33:16 +02:00
.gitmodules Added new gitmodule `qt3d' 2011-12-19 06:10:27 +01:00
README README: Don't advocate -confirm-license 2012-01-03 17:19:45 +01:00
configure Fixed configure exiting with 0 exit code even on failure. 2011-12-15 04:24:39 +01:00
configure.bat Update licenseheader text in source files for qt5 repo 2011-07-08 16:34:39 +02:00
fix-webkit Long live the qt5 Qt repository 2011-04-27 12:34:00 +02:00
init-repository Added new gitmodule `qt3d' 2011-12-19 06:10:27 +01:00
qt.pro Added new gitmodule `qt3d' 2011-12-19 06:10:27 +01:00
qtwebkit.pri qtwebkit: work around compile failure in npapi when using qpa 2011-07-08 09:24:12 +02:00

README

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


 Synopsis
 ========

 For a stable build of Qt5:

   ./init-repository
   ./configure -prefix $PWD/qtbase -opensource
   make -j4

 More details follow.


 Get The Submodules
 ==================

 Cloning Qt5 does not automatically clone all submodules.
 To get the submodules, it is recommended to use the `init-repository' script.

   ./init-repository

 If you are a Nokia developer, you should add the -nokia-developer argument:

   ./init-repository -nokia-developer

 See `./init-repository -help' for full documentation on the many supported
 options.


 Update The Submodules (optional)
 ================================

 After a plain `git clone' and `init-repository', you will have each submodule
 checked out to a particular SHA1.  This combination of SHA1s is guaranteed to
 have passed some basic acceptance testing.

 If (and only if!) you need newer versions of some submodules, you can manually
 fetch and/or pull and/or reset any modules you like, or use the qt5_tool to
 pull all modules:

   ./qtrepotools/bin/qt5_tool -p

 NOTE! As soon as you change the SHA1 of any submodule, you are using a
 combination of modules which is potentially untested and broken!  If you want
 something which is more likely to compile, stick to the module SHA1s provided
 in this repository.


 Install The Git Grafts (optional)
 =================================

 If you want to be able to connect the Qt5 and Qt4 development history, you
 may set up git grafts with the following command:

   git submodule foreach '../qtrepotools/bin/git-qt-grafts <path_to_history>'


 Build!
 ======

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

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

   ./configure -prefix $PWD/qtbase -opensource
   make -j4

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

   ./configure -developer-build -opensource
   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 qtscript and qtwebkit,
 and the modules they depend on:

   ./configure -prefix $PWD/qtbase -opensource
   make -j4 module-qtscript module-qtwebkit

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


 Hints
 =====

 Shadow builds are possible, but not as well tested/supported as in-source
 builds.

 You can disable parts of the build to speed up compilation or to work around
 problems by configuring with:

    -nomake tests -nomake examples

 You can pass -confirm-license to configure to automatically acknowledge the
 LGPL 2.1 license.

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