Merge branch 'stable' into dev

the sha1s of existing modules were skipped (the update bot will handle
them as usual). all newly appeared modules got their sha1s forward-merged.

Conflicts:
	.gitmodules
	qt.pro
	<plenty of submodules>

Change-Id: I724998c2011f274c3aea5996a7fdbe303d246551
This commit is contained in:
Oswald Buddenhagen
2013-05-02 15:11:38 +02:00
18 changed files with 183 additions and 148 deletions

81
.gitmodules vendored
View File

@@ -1,57 +1,96 @@
[submodule "qtbase"] [submodule "qtbase"]
path = qtbase path = qtbase
url = git://gitorious.org/qt/qtbase.git url = ../qtbase.git
[submodule "qtsvg"] [submodule "qtsvg"]
path = qtsvg path = qtsvg
url = git://gitorious.org/qt/qtsvg.git url = ../qtsvg.git
[submodule "qtdeclarative"] [submodule "qtdeclarative"]
path = qtdeclarative path = qtdeclarative
url = git://gitorious.org/qt/qtdeclarative.git url = ../qtdeclarative.git
[submodule "qtactiveqt"] [submodule "qtactiveqt"]
path = qtactiveqt path = qtactiveqt
url = git://gitorious.org/qt/qtactiveqt.git url = ../qtactiveqt.git
[submodule "qtscript"] [submodule "qtscript"]
path = qtscript path = qtscript
url = git://gitorious.org/qt/qtscript.git url = ../qtscript.git
[submodule "qtmultimedia"] [submodule "qtmultimedia"]
path = qtmultimedia path = qtmultimedia
url = git://gitorious.org/qt/qtmultimedia.git url = ../qtmultimedia.git
[submodule "qttools"] [submodule "qttools"]
path = qttools path = qttools
url = git://gitorious.org/qt/qttools.git url = ../qttools.git
[submodule "qtxmlpatterns"] [submodule "qtxmlpatterns"]
path = qtxmlpatterns path = qtxmlpatterns
url = git://gitorious.org/qt/qtxmlpatterns.git url = ../qtxmlpatterns.git
[submodule "qttranslations"] [submodule "qttranslations"]
path = qttranslations path = qttranslations
url = git://gitorious.org/qt/qttranslations.git url = ../qttranslations.git
[submodule "qtdoc"] [submodule "qtdoc"]
path = qtdoc path = qtdoc
url = git://gitorious.org/qt/qtdoc.git url = ../qtdoc.git
[submodule "qlalr"]
path = qlalr
url = ../qlalr.git
[submodule "qtrepotools"] [submodule "qtrepotools"]
path = qtrepotools path = qtrepotools
url = git://gitorious.org/qt/qtrepotools.git url = ../qtrepotools.git
[submodule "qtwebkit"] [submodule "qtwebkit"]
path = qtwebkit path = qtwebkit
url = git://gitorious.org/qt/qtwebkit.git url = ../qtwebkit.git
[submodule "qtwebkit-examples-and-demos"] [submodule "qtwebkit-examples"]
path = qtwebkit-examples-and-demos path = qtwebkit-examples
url = git://gitorious.org/qt/qtwebkit-examples-and-demos.git url = ../qtwebkit-examples.git
[submodule "qtqa"] [submodule "qtqa"]
path = qtqa path = qtqa
url = git://gitorious.org/qt/qtqa.git url = ../qtqa.git
[submodule "qtlocation"]
path = qtlocation
url = ../qtlocation.git
[submodule "qtsensors"]
path = qtsensors
url = ../qtsensors.git
[submodule "qtsystems"]
path = qtsystems
url = ../qtsystems.git
[submodule "qtfeedback"]
path = qtfeedback
url = ../qtfeedback.git
[submodule "qtdocgallery"]
path = qtdocgallery
url = ../qtdocgallery.git
[submodule "qtpim"]
path = qtpim
url = ../qtpim.git
[submodule "qtconnectivity"]
path = qtconnectivity
url = ../qtconnectivity.git
[submodule "qtwayland"]
path = qtwayland
url = ../qtwayland.git
[submodule "qtjsondb"]
path = qtjsondb
url = ../qtjsondb.git
[submodule "qt3d"]
path = qt3d
url = ../qt3d.git
[submodule "qtjsbackend"] [submodule "qtjsbackend"]
path = qtjsbackend path = qtjsbackend
url = git://gitorious.org/qt/qtjsbackend.git url = ../qtjsbackend.git
[submodule "qtimageformats"] [submodule "qtimageformats"]
path = qtimageformats path = qtimageformats
url = git://gitorious.org/qt/qtimageformats.git url = ../qtimageformats.git
[submodule "qtquick1"] [submodule "qtquick1"]
path = qtquick1 path = qtquick1
url = git://gitorious.org/qt/qtquick1.git url = ../qtquick1.git
[submodule "qtgraphicaleffects"] [submodule "qtgraphicaleffects"]
path = qtgraphicaleffects path = qtgraphicaleffects
url = git://gitorious.org/qt/qtgraphicaleffects.git url = ../qtgraphicaleffects.git
[submodule "qtquickcontrols"]
path = qtquickcontrols
url = ../qtquickcontrols.git
[submodule "qtserialport"]
path = qtserialport
url = ../qtserialport.git
[submodule "qtx11extras"] [submodule "qtx11extras"]
path = qtx11extras path = qtx11extras
url = git://gitorious.org/qt/qtx11extras.git url = ../qtx11extras.git

4
README
View File

@@ -59,9 +59,6 @@ HOW TO BUILD QT5
configure -prefix %CD%\qtbase -opensource -nomake tests configure -prefix %CD%\qtbase -opensource -nomake tests
nmake // jom // mingw32-make nmake // jom // mingw32-make
For MinGW (gcc version 4.6 or later), ensure that the compiler can
be found in the path.
To accelerate the bootstrap of qmake with MSVC, it may be useful to pass 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, "-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. adding "/MP" to the CL environment variable is a good idea.
@@ -124,3 +121,4 @@ HOW TO BUILD QT5
===================== =====================
See http://qt-project.org/wiki/Building-Qt-5-from-Git and README.git See http://qt-project.org/wiki/Building-Qt-5-from-Git and README.git
for more information. for more information.
See http://qt-project.org/wiki/Qt-5 for the reference platforms.

View File

@@ -91,6 +91,8 @@ git repository.
Only initialize the specified subset of modules given as the argument. Specified Only initialize the specified subset of modules given as the argument. Specified
modules must already exist in .gitmodules. modules must already exist in .gitmodules.
The string "all" results in cloning all known modules. The default is the set of
maintained modules.
=item --no-update =item --no-update
@@ -217,27 +219,56 @@ my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
qtconnectivity qtconnectivity
qtdeclarative qtdeclarative
qtdoc qtdoc
qtdocgallery
qtfeedback qtfeedback
qtgraphicaleffects qtgraphicaleffects
qtimageformats qtimageformats
qtjsondb
qtjsbackend qtjsbackend
qtlocation qtlocation
qtmultimedia qtmultimedia
qtpim qtpim
qtqa qtqa
qtquick1 qtquick1
qtquickcontrols
qtrepotools qtrepotools
qtscript qtscript
qtsensors qtsensors
qtserialport
qtsvg qtsvg
qtsystems qtsystems
qttools qttools
qttranslations qttranslations
qtwayland qtwayland
qtwebkit qtwebkit
qtwebkit-examples-and-demos qtwebkit-examples
qtxmlpatterns
qtx11extras qtx11extras
qtxmlpatterns
);
my @DEFAULT_REPOS = qw(
qtactiveqt
qtbase
qtdeclarative
qtdoc
qtgraphicaleffects
qtimageformats
qtjsbackend
qtmultimedia
qtqa
qtquick1
qtquickcontrols
qtrepotools
qtscript
qtsensors
qtserialport
qtsvg
qttools
qttranslations
qtwebkit
qtwebkit-examples
qtx11extras
qtxmlpatterns
); );
my $GERRIT_SSH_BASE my $GERRIT_SSH_BASE
@@ -288,7 +319,7 @@ sub parse_arguments
'protocol' => "", 'protocol' => "",
'update' => 1 , 'update' => 1 ,
'webkit' => 1 , 'webkit' => 1 ,
'module-subset' => "", 'module-subset' => join(",", @DEFAULT_REPOS),
); );
GetOptionsFromArray(\@args, GetOptionsFromArray(\@args,
@@ -329,7 +360,9 @@ sub parse_arguments
# Replace any double trailing slashes from end of mirror # Replace any double trailing slashes from end of mirror
$self->{'mirror-url'} =~ s{//+$}{/}; $self->{'mirror-url'} =~ s{//+$}{/};
if ($self->{'module-subset'}) { if ($self->{'module-subset'} eq "all") {
$self->{'module-subset'} = "";
} else {
$self->{'module-subset'} = { $self->{'module-subset'} = {
map { $_ => 1 } split(qr{,}, $self->{'module-subset'}) map { $_ => 1 } split(qr{,}, $self->{'module-subset'})
}; };
@@ -386,7 +419,7 @@ sub git_disable_webkit_submodule
my ($self) = @_; my ($self) = @_;
$self->exe('git', 'config', '--remove', 'submodule.qtwebkit'); $self->exe('git', 'config', '--remove', 'submodule.qtwebkit');
$self->exe('git', 'config', '--remove', 'submodule.qtwebkit-examples-and-demos'); $self->exe('git', 'config', '--remove', 'submodule.qtwebkit-examples');
return; return;
} }

1
qlalr Submodule

Submodule qlalr added at cf0e872fec

190
qt.pro
View File

@@ -1,134 +1,86 @@
# Create the super cache so modules will add themselves to it. # Create the super cache so modules will add themselves to it.
cache(, super) cache(, super)
CONFIG += build_pass # hack to disable the .qmake.super auto-add
load(qt_build_config)
TEMPLATE = subdirs TEMPLATE = subdirs
CONFIG += prepare_docs qt_docs_targets testcase_targets defineReplace(moduleName) {
return(module_$$replace(1, -, _))
}
module_qtbase.subdir = qtbase # Arguments: module name, [mandatory deps], [optional deps], [project file]
module_qtbase.target = module-qtbase defineTest(addModule) {
contains(QT_SKIP_MODULES, $$1): return(false)
mod = $$moduleName($$1)
module_qtsvg.subdir = qtsvg isEmpty(4) {
module_qtsvg.target = module-qtsvg !exists($$1/$${1}.pro): return(false)
module_qtsvg.depends = module_qtbase $${mod}.subdir = $$1
export($${mod}.subdir)
} else {
!exists($$1/$${4}): return(false)
$${mod}.file = $$1/$$4
$${mod}.makefile = Makefile
export($${mod}.file)
export($${mod}.makefile)
}
module_qtxmlpatterns.subdir = qtxmlpatterns for(d, 2) {
module_qtxmlpatterns.target = module-qtxmlpatterns dn = $$moduleName($$d)
module_qtxmlpatterns.depends = module_qtbase !contains(SUBDIRS, $$dn): \
return(false)
$${mod}.depends += $$dn
}
for(d, 3) {
dn = $$moduleName($$d)
contains(SUBDIRS, $$dn): \
$${mod}.depends += $$dn
}
!isEmpty($${mod}.depends): \
export($${mod}.depends)
module_qtscript.subdir = qtscript $${mod}.target = module-$$1
module_qtscript.target = module-qtscript export($${mod}.target)
module_qtscript.depends = module_qtbase
module_qtjsbackend.subdir = qtjsbackend SUBDIRS += $$mod
module_qtjsbackend.target = module-qtjsbackend export(SUBDIRS)
module_qtjsbackend.depends = module_qtbase return(true)
}
module_qtdeclarative.subdir = qtdeclarative
module_qtdeclarative.target = module-qtdeclarative
module_qtdeclarative.depends = module_qtbase module_qtjsbackend
module_qtwebkit.file = qtwebkit/WebKit.pro
module_qtwebkit.makefile = Makefile
module_qtwebkit.depends = module_qtbase module_qtdeclarative
module_qtwebkit.target = module-qtwebkit
module_qtwebkit_examples_and_demos.subdir = qtwebkit-examples-and-demos
module_qtwebkit_examples_and_demos.target = module-qtwebkit-examples-and-demos
module_qtwebkit_examples_and_demos.depends = module_qtwebkit module_qttools
module_qttools.subdir = qttools
module_qttools.target = module-qttools
module_qttools.depends = module_qtbase
module_qttranslations.subdir = qttranslations
module_qttranslations.target = module-qttranslations
module_qttranslations.depends = module_qttools
module_qtdoc.subdir = qtdoc
module_qtdoc.target = module-qtdoc
module_qtdoc.depends = module_qtbase module_qtdeclarative
module_qtactiveqt.subdir = qtactiveqt
module_qtactiveqt.target = module-qtactiveqt
module_qtactiveqt.depends = module_qtbase
module_qtqa.subdir = qtqa
module_qtqa.target = module-qtqa
module_qtqa.depends = module_qtbase
module_qtmultimedia.subdir = qtmultimedia
module_qtmultimedia.target = module-qtmultimedia
module_qtmultimedia.depends = module_qtbase
module_qtx11extras.subdir = qtx11extras
module_qtx11extras.target = module-qtx11extras
module_qtx11extras.depends = module_qtbase
module_qtimageformats.subdir = qtimageformats
module_qtimageformats.target = module-qtimageformats
module_qtimageformats.depends = module_qtbase
module_qtquick1.subdir = qtquick1
module_qtquick1.target = module-qtquick1
module_qtquick1.depends = module_qtbase module_qtscript
module_qtgraphicaleffects.subdir = qtgraphicaleffects
module_qtgraphicaleffects.target = module-qtgraphicaleffects
module_qtgraphicaleffects.depends = module_qtbase module_qtdeclarative
# only qtbase is required to exist. The others may not - but it is the # only qtbase is required to exist. The others may not - but it is the
# users responsibility to ensure that all needed dependencies exist, or # users responsibility to ensure that all needed dependencies exist, or
# it may not build. # it may not build.
SUBDIRS = module_qtbase addModule(qtbase)
addModule(qtx11extras, qtbase)
exists(qtsvg/qtsvg.pro) { addModule(qlalr, qtbase)
SUBDIRS += module_qtsvg addModule(qtsvg, qtbase)
# These modules do not require qtsvg, but can use it if it is available addModule(qtxmlpatterns, qtbase)
module_qtdeclarative.depends += module_qtsvg addModule(qtjsbackend, qtbase)
module_qtquick1.depends += module_qtsvg addModule(qtdeclarative, qtjsbackend, qtsvg qtxmlpatterns)
} addModule(qtquickcontrols, qtdeclarative)
exists(qtxmlpatterns/qtxmlpatterns.pro) { addModule(qtmultimedia, qtdeclarative)
SUBDIRS += module_qtxmlpatterns addModule(qtactiveqt, qtbase)
# These modules do not require qtxmlpatterns, but can use it if it is available addModule(qt3d, qtdeclarative)
module_qtdeclarative.depends += module_qtxmlpatterns addModule(qtjsondb, qtdeclarative)
module_qtquick1.depends += module_qtxmlpatterns addModule(qtsystems, qtbase, qtdeclarative qtjsondb)
} addModule(qtlocation, qtbase, qt3d qtjsondb qtsystems qtmultimedia)
addModule(qtsensors, qtbase, qtdeclarative)
exists(qtjsbackend/qtjsbackend.pro): SUBDIRS += module_qtjsbackend addModule(qtconnectivity, qtsystems)
exists(qtdeclarative/qtdeclarative.pro) { addModule(qtfeedback, qtdeclarative, qtmultimedia)
SUBDIRS += module_qtdeclarative addModule(qtpim, qtdeclarative, qtjsondb)
# These modules do not require qtdeclarative, but can use it if it is available addModule(qtwebkit, qtdeclarative, qtlocation qtsensors, WebKit.pro)
module_qttools.depends += module_qtdeclarative addModule(qttools, qtbase, qtdeclarative qtactiveqt qtwebkit)
module_qtmultimedia.depends += module_qtdeclarative addModule(qtwebkit-examples, qtwebkit qttools)
} addModule(qtimageformats, qtbase)
exists(qtscript/qtscript.pro): SUBDIRS += module_qtscript addModule(qtgraphicaleffects, qtdeclarative)
exists(qtmultimedia/qtmultimedia.pro): SUBDIRS += module_qtmultimedia addModule(qtscript, qtbase)
exists(qtactiveqt/qtactiveqt.pro) { addModule(qtquick1, qtscript, qtsvg qtxmlpatterns qtwebkit qttools)
SUBDIRS += module_qtactiveqt addModule(qtdocgallery, qtdeclarative, qtjsondb)
module_qttools.depends += module_qtactiveqt !win32:!mac:addModule(qtwayland, qtbase, qtdeclarative)
} addModule(qtserialport, qtbase)
exists(qtwebkit/WebKit.pro) { addModule(qttranslations, qttools)
mac|contains(QT_CONFIG, icu) { addModule(qtdoc, qtdeclarative)
SUBDIRS += module_qtwebkit addModule(qtqa, qtbase)
module_qttools.depends += module_qtwebkit
module_qtquick1.depends += module_qtwebkit
exists(qtwebkit-examples-and-demos/qtwebkit-examples-and-demos.pro) {
SUBDIRS += module_qtwebkit_examples_and_demos
}
} else {
message("WebKit: Qt was built without ICU support, WebKit disabled.")
}
}
exists(qttools/qttools.pro) {
SUBDIRS += module_qttools
module_qtquick1.depends += module_qttools
}
exists(qtquick1/qtquick1.pro): SUBDIRS += module_qtquick1
exists(qtimageformats/qtimageformats.pro): SUBDIRS += module_qtimageformats
exists(qtgraphicaleffects/qtgraphicaleffects.pro): SUBDIRS += module_qtgraphicaleffects
exists(qtx11extras/qtx11extras.pro): SUBDIRS += module_qtx11extras
exists(qttranslations/qttranslations.pro): SUBDIRS += module_qttranslations
exists(qtdoc/qtdoc.pro): SUBDIRS += module_qtdoc
exists(qtqa/qtqa.pro): SUBDIRS += module_qtqa

1
qt3d Submodule

Submodule qt3d added at be0194e99d

1
qtconnectivity Submodule

Submodule qtconnectivity added at a57166abc4

1
qtdocgallery Submodule

Submodule qtdocgallery added at 3f9a8c3c4f

1
qtfeedback Submodule

Submodule qtfeedback added at 80f56cc88c

1
qtjsondb Submodule

Submodule qtjsondb added at c9e541d3ad

1
qtlocation Submodule

Submodule qtlocation added at ccf162dd07

1
qtpim Submodule

Submodule qtpim added at 13b5e37216

1
qtquickcontrols Submodule

Submodule qtquickcontrols added at 070943e78d

1
qtsensors Submodule

Submodule qtsensors added at 50c16eab20

1
qtserialport Submodule

Submodule qtserialport added at 0add3b934b

1
qtsystems Submodule

Submodule qtsystems added at b7b67d1130

1
qtwayland Submodule

Submodule qtwayland added at 894adf8a44