Compare commits

..

4 Commits
5.3 ... v5.1.0

Author SHA1 Message Date
Sergio Ahumada
c21bee55a5 Updated submodules.
Change-Id: I2523a9d712571ec411dde0e547c4a5ad0c17e977
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-07-01 20:11:45 +02:00
Qt Submodule Update Bot
ad03e256c0 Updated submodules.
Change-Id: I441527d16813cb8c5483f251a2586946f2939c55
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
2013-06-28 19:07:46 +02:00
Qt Submodule Update Bot
441527d168 Updated submodules.
Change-Id: I62187932bef0dc3b8c88e85ae4fcad4628ac3b46
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
2013-06-27 10:09:12 +02:00
Qt Submodule Update Bot
62187932be Updated submodules.
Change-Id: Ie9b62c8c6914428014c30be7e3cf0889372ee0b6
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
2013-06-25 00:58:27 +02:00
45 changed files with 116 additions and 159 deletions

View File

@@ -4,27 +4,15 @@
# ==[ Details: Describe what changed and explain why it changed ]======|
# Change log entry (see below for instructions).
#[ChangeLog][][]
# ==[ Footers: Uncomment and edit where applicable ]===================|
#
# One task per entry. Remember space after colon.
#Task-number:
#
# Solicit reviewers. They still need to use the Gerrit frontend.
#Reviewed-by:
# ==[ Please wrap at 72 characters ]===================================|
#
# Remember to read http://wiki.qt-project.org/Commit_Policy
#
# Change log entry: If this commit adds a significant feature, fixes an
# issue or contains a behavior change that is relevant to others,
# add a change log entry. It can be multiple lines long and ends with an
# empty newline. Try to integrate it into the flow of the commit message
# to avoid redundancy.
# Use the module name to indicate the area of the change e.g. [QtCore].
# Optionally specify a class or subtopic [QtNetwork][QSslSocket].
# Other common tags are: [General], [Important Behavior Changes],
# [Platform Specific Changes][Windows][OS X][Linux/XCB].
#
# [ChangeLog][module][class/topic] description of the really important
# change that was just made on several lines.

1
.gitignore vendored
View File

@@ -1,3 +1,2 @@
Makefile
.qmake.cache
.qmake.super

21
.gitmodules vendored
View File

@@ -28,6 +28,9 @@
[submodule "qtdoc"]
path = qtdoc
url = ../qtdoc.git
[submodule "qlalr"]
path = qlalr
url = ../qlalr.git
[submodule "qtrepotools"]
path = qtrepotools
url = ../qtrepotools.git
@@ -70,6 +73,9 @@
[submodule "qt3d"]
path = qt3d
url = ../qt3d.git
[submodule "qtjsbackend"]
path = qtjsbackend
url = ../qtjsbackend.git
[submodule "qtimageformats"]
path = qtimageformats
url = ../qtimageformats.git
@@ -88,18 +94,3 @@
[submodule "qtx11extras"]
path = qtx11extras
url = ../qtx11extras.git
[submodule "qtmacextras"]
path = qtmacextras
url = ../qtmacextras.git
[submodule "qtwinextras"]
path = qtwinextras
url = ../qtwinextras.git
[submodule "qtandroidextras"]
path = qtandroidextras
url = ../qtandroidextras.git
[submodule "qtenginio"]
path = qtenginio
url = ../qtenginio.git
[submodule "qtwebsockets"]
path = qtwebsockets
url = ../qtwebsockets.git

9
README
View File

@@ -127,13 +127,12 @@ HOW TO BUILD QT5
Documentation
=============
After configuring and compiling Qt, building the documentation is possible by running
After the configure step, building the documentation is possible by running
"make docs".
Example:
After having built the documentation, you need to install it with the following
command:
make install_docs
./configure -prefix $PWD/qtbase -opensource
make docs
The documentation is installed in the path set to $QT_INSTALL_DOCS.
Running "qmake -query" will list the value of QT_INSTALL_DOCS.

10
configure vendored
View File

@@ -53,5 +53,11 @@ mkdir -p qtbase || exit
echo "+ cd qtbase"
cd qtbase || exit
echo "+ $configure -top-level $@"
exec "$configure" -top-level "$@"
echo "+ $configure $@"
"$configure" "$@" || exit 1
echo "+ cd .."
cd ..
echo "+ qtbase/bin/qmake $srcpath"
exec qtbase/bin/qmake "$srcpath"

View File

@@ -52,10 +52,17 @@ if not exist qtbase mkdir qtbase || exit /b 1
echo + cd qtbase
cd qtbase || exit /b 1
echo + %configure% -top-level %*
call %configure% -top-level %*
echo + %configure% %*
call %configure% %*
set err=%errorlevel%
cd ..
if not %err% == 0 goto out
echo + qtbase\bin\qmake %srcpath%
qtbase\bin\qmake %srcpath%
set err=%errorlevel%
:out
exit /b %err%

View File

@@ -70,12 +70,6 @@ B<Global options:>
Force initialization (even if the submodules are already checked out).
=item --force-hooks
Force initialization of hooks (even if there are already hooks in checked out
submodules).
=item --quiet, -q
Be quiet. Will exit cleanly if the repository is already initialized.
@@ -110,6 +104,8 @@ Skip the `git submodule update' command.
Set git config to ignore submodules by default when doing operations on the
qt5 repo, such as `pull', `fetch', `diff' etc.
This option is default for --nokia-developer.
After using this option, pass `--ignore-submodules=none' to git to override
it as needed.
@@ -120,15 +116,24 @@ B<Repository options:>
=over
=item --nokia-developer
Switch to internal Nokia URLs.
=item --berlin
Switch to internal URLs and make use of the Berlin git mirrors.
Switch to internal Nokia URLs and make use of the Berlin git mirrors.
(Implies `--mirror').
=item --oslo
Switch to internal URLs and make use of the Oslo git mirrors.
(Implies `--mirror').
=item --ssh
Use the SSH protocol for git operations. This may be useful if the git
protocol is blocked by a firewall. Note that this requires a user account
with an uploaded SSH key on all servers used. (Implies `--nokia-developer').
The `--ssh' option does not affect the gerrit remotes.
=item --http
@@ -200,26 +205,27 @@ use Pod::Usage qw( pod2usage );
use Cwd qw( getcwd );
my %PROTOCOLS = (
'internal' => 'git://scm.dev.nokia.troll.no/' ,
'ssh' => 'git@scm.dev.nokia.troll.no:' ,
'http' => 'http://git.gitorious.org/' ,
);
my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
qt3d
qt5
qlalr
qtactiveqt
qtandroidextras
qtbase
qtconnectivity
qtdeclarative
qtdoc
qtdocgallery
qtenginio
qtfeedback
qtgraphicaleffects
qtimageformats
qtjsondb
qtjsbackend
qtlocation
qtmacextras
qtmultimedia
qtpim
qtqa
@@ -236,28 +242,22 @@ my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
qtwayland
qtwebkit
qtwebkit-examples
qtwebsockets
qtwinextras
qtx11extras
qtxmlpatterns
);
my @DEFAULT_REPOS = qw(
qtactiveqt
qtandroidextras
qtbase
qtconnectivity
qtdeclarative
qtdoc
qtenginio
qtgraphicaleffects
qtimageformats
qtmacextras
qtjsbackend
qtmultimedia
qtqa
qtquick1
qtquickcontrols
qtlocation
qtrepotools
qtscript
qtsensors
@@ -265,10 +265,8 @@ my @DEFAULT_REPOS = qw(
qtsvg
qttools
qttranslations
qtwebsockets
qtwebkit
qtwebkit-examples
qtwinextras
qtx11extras
qtxmlpatterns
);
@@ -277,10 +275,7 @@ my $GERRIT_SSH_BASE
= 'ssh://@USER@codereview.qt-project.org@PORT@/';
my $BER_MIRROR_URL_BASE
= 'git://hegel/';
my $OSLO_MIRROR_URL_BASE
= 'git://qilin/';
= 'git://ber-git.europe.nokia.com/';
sub new
{
@@ -318,9 +313,9 @@ sub parse_arguments
'codereview-username' => "",
'detach-alternates' => 0 ,
'force' => 0 ,
'force-hooks' => 0 ,
'ignore-submodules' => 0 ,
'mirror-url' => "",
'nokia-developer' => 0 ,
'protocol' => "",
'update' => 1 ,
'webkit' => 1 ,
@@ -331,10 +326,10 @@ sub parse_arguments
'alternates=s' => \$self->{qw{ alternates }},
'codereview-username=s' => \$self->{qw{ codereview-username }},
'copy-objects' => \$self->{qw{ detach-alternates }},
'force|f' => \$self->{qw{ force }},
'force-hooks' => \$self->{qw{ force-hooks }},
'force' => \$self->{qw{ force }},
'ignore-submodules' => \$self->{qw{ ignore-submodules }},
'mirror=s' => \$self->{qw{ mirror-url }},
'nokia-developer' => \$self->{qw{ nokia-developer }},
'quiet' => \$self->{qw{ quiet }},
'update!' => \$self->{qw{ update }},
'webkit!' => \$self->{qw{ webkit }},
@@ -342,15 +337,26 @@ sub parse_arguments
'help|?' => sub { pod2usage(1); },
'http' => sub { $self->{protocol} = 'http'; },
'ssh|ssh-protocol' => sub { $self->{protocol} = 'ssh'; },
'berlin' => sub {
'berlin|berlin-nokia-developer' => sub {
$self->{'nokia-developer'} = 1;
$self->{'protocol'} = 'internal';
$self->{'mirror-url'} = $BER_MIRROR_URL_BASE;
},
'oslo' => sub {
$self->{'mirror-url'} = $OSLO_MIRROR_URL_BASE;
'nokia-developer' => sub {
$self->{'nokia-developer'} = 1;
$self->{'protocol'} = 'internal';
$self->{'ignore-submodules'} = 1;
},
) || pod2usage(2);
if ($self->{'nokia-developer'} && $self->{'protocol'} eq 'http') {
print "*** Ignoring use of HTTP protocol, as it's only usable with external server\n";
$self->{'protocol'} = '';
}
# Replace any double trailing slashes from end of mirror
$self->{'mirror-url'} =~ s{//+$}{/};
@@ -449,7 +455,12 @@ sub git_set_submodule_config
my $value = $2;
if ($protocol) {
# rewrite URL to chosen protocol
# qt-labs projects are still hosted under qt internally.
if ($protocol ne 'http') {
$value =~ s,^git://gitorious\.org/qt-labs/,${url_base_for_protocol}qt/,;
}
# assume all other projects hosted under gitorious publicly.
$value =~ s,^git://gitorious\.org/,$url_base_for_protocol,;
}
@@ -584,38 +595,6 @@ sub git_clone_one_submodule
return;
}
sub ensure_link
{
my ($self, $src, $tgt) = @_;
return if (!$self->{'force-hooks'} and -f $tgt);
unlink($tgt); # In case we have a dead symlink or pre-existing hook
print "Aliasing $src\n as $tgt ...\n" if (!$self->{quiet});
return if eval { symlink($src, $tgt) };
# Windows doesn't do (proper) symlinks. As the post_commit script needs
# them to locate itself, we write a forwarding script instead.
open SCRIPT, ">".$tgt or die "Cannot create forwarding script $tgt: $!\n";
print SCRIPT "#!/bin/sh\nexec `dirname \$0`/$src \"\$\@\"\n";
close SCRIPT;
}
sub git_install_hooks
{
my ($self) = @_;
return if (!-d 'qtrepotools/git-hooks');
chomp(my @modules = `git submodule foreach :`);
push @modules, "";
for my $module (@modules) {
$module =~ s,^Entering \'([^\']+)\'$,$1/,;
my $rel = $module;
$rel =~ s,[^/]+,..,g;
$rel .= "../../qtrepotools/git-hooks/";
$self->ensure_link($rel.'gerrit_commit_msg_hook', $module.'.git/hooks/commit-msg');
$self->ensure_link($rel.'git_post_commit_hook', $module.'.git/hooks/post-commit');
}
}
sub run
{
my ($self) = @_;
@@ -637,8 +616,6 @@ sub run
$self->git_add_remotes('qt5');
$self->git_install_hooks;
return;
}

1
qlalr Submodule

Submodule qlalr added at d7064c2c7d

27
qt.pro
View File

@@ -3,7 +3,6 @@ cache(, super)
CONFIG += build_pass # hack to disable the .qmake.super auto-add
load(qt_build_config)
CONFIG -= build_pass # unhack, as it confuses Qt Creator
TEMPLATE = subdirs
@@ -54,40 +53,34 @@ defineTest(addModule) {
# users responsibility to ensure that all needed dependencies exist, or
# it may not build.
ANDROID_EXTRAS =
android: ANDROID_EXTRAS = qtandroidextras
addModule(qtbase)
addModule(qtandroidextras, qtbase)
addModule(qtmacextras, qtbase)
addModule(qtx11extras, qtbase)
addModule(qlalr, qtbase)
addModule(qtsvg, qtbase)
addModule(qtxmlpatterns, qtbase)
addModule(qtdeclarative, qtbase, qtsvg qtxmlpatterns)
addModule(qtjsbackend, qtbase)
addModule(qtdeclarative, qtjsbackend, qtsvg qtxmlpatterns)
addModule(qtquickcontrols, qtdeclarative)
addModule(qtmultimedia, qtbase, qtdeclarative)
addModule(qtwinextras, qtbase, qtdeclarative qtmultimedia)
addModule(qtmultimedia, qtdeclarative)
addModule(qtactiveqt, qtbase)
addModule(qt3d, qtdeclarative)
addModule(qtjsondb, qtdeclarative)
addModule(qtsystems, qtbase, qtdeclarative)
addModule(qtlocation, qtbase, qt3d qtsystems qtmultimedia)
addModule(qtsystems, qtbase, qtdeclarative qtjsondb)
addModule(qtlocation, qtbase, qt3d qtjsondb qtsystems qtmultimedia)
addModule(qtsensors, qtbase, qtdeclarative)
addModule(qtconnectivity, qtbase $$ANDROID_EXTRAS, qtdeclarative)
addModule(qtconnectivity, qtsystems)
addModule(qtfeedback, qtdeclarative, qtmultimedia)
addModule(qtpim, qtdeclarative, qtjsondb)
addModule(qtwebkit, qtdeclarative, qtlocation qtmultimedia qtsensors, WebKit.pro)
addModule(qtwebkit, qtdeclarative, qtlocation qtsensors, WebKit.pro)
addModule(qttools, qtbase, qtdeclarative qtactiveqt qtwebkit)
addModule(qtwebkit-examples, qtwebkit qttools)
addModule(qtimageformats, qtbase)
addModule(qtgraphicaleffects, qtdeclarative)
addModule(qtscript, qtbase, qttools)
addModule(qtquick1, qtscript, qtsvg qtxmlpatterns qtwebkit)
addModule(qtscript, qtbase)
addModule(qtquick1, qtscript, qtsvg qtxmlpatterns qtwebkit qttools)
addModule(qtdocgallery, qtdeclarative, qtjsondb)
!win32:!mac:addModule(qtwayland, qtbase, qtdeclarative)
addModule(qtserialport, qtbase)
addModule(qtenginio, qtdeclarative)
addModule(qtwebsockets, qtbase, qtdeclarative)
addModule(qttranslations, qttools)
addModule(qtdoc, qtdeclarative)
addModule(qtqa, qtbase)

2
qt3d

Submodule qt3d updated: 9a4f9f3eca...6b8ee028ac

Submodule qtandroidextras deleted from a441d816a0

2
qtbase

Submodule qtbase updated: f1bce3bc17...215f137e29

2
qtdoc

Submodule qtdoc updated: 450060fac2...4d875f2b06

Submodule qtenginio deleted from 4ee5a2f13a

1
qtjsbackend Submodule

Submodule qtjsbackend added at ca1ac7634f

Submodule qtmacextras deleted from 9af049f151

2
qtpim

Submodule qtpim updated: 902c55a228...099111a9fb

2
qtqa

Submodule qtqa updated: 130c512d14...6c31afb3f6

2
qtsvg

Submodule qtsvg updated: 66444e54dd...0b7bb2bd2d

Submodule qttools updated: 32bb805deb...d403785d9b

Submodule qtwebsockets deleted from ca03374390

Submodule qtwinextras deleted from b128803199