mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-26 09:56:02 +08:00
Compare commits
42 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f2ff8b460 | ||
|
|
0d60d720f8 | ||
|
|
00defc7101 | ||
|
|
4a5968ce75 | ||
|
|
843a3407f2 | ||
|
|
5400507252 | ||
|
|
210493d641 | ||
|
|
670466b6a3 | ||
|
|
07856d73e1 | ||
|
|
dfffbfdc26 | ||
|
|
b62714f88c | ||
|
|
24f1b3219d | ||
|
|
f7cb995d04 | ||
|
|
11963ba9f0 | ||
|
|
39ce0228da | ||
|
|
95bb29e243 | ||
|
|
68b5c48282 | ||
|
|
451f0a193b | ||
|
|
59e3021a52 | ||
|
|
ac6168c0cb | ||
|
|
e3cd5bb368 | ||
|
|
be35b9f9af | ||
|
|
0badf61792 | ||
|
|
98737b388b | ||
|
|
9fb1a2e12f | ||
|
|
b71478c424 | ||
|
|
dc93c0d4d7 | ||
|
|
34c7caab3f | ||
|
|
9ebad7830d | ||
|
|
1ad0a17fa0 | ||
|
|
d553fc4fa9 | ||
|
|
b236ef6aef | ||
|
|
81efb6de3c | ||
|
|
ef1f126ddc | ||
|
|
c3a6185b7e | ||
|
|
0163cb617a | ||
|
|
9ca0c52513 | ||
|
|
a68a6b964f | ||
|
|
663f814c24 | ||
|
|
6040cb2ff5 | ||
|
|
968f8a2a5e | ||
|
|
cafd720586 |
@@ -14,7 +14,7 @@
|
||||
#
|
||||
# ==[ Please wrap at 72 characters ]===================================|
|
||||
#
|
||||
# Remember to read http://wiki.qt-project.org/Commit_Policy
|
||||
# Remember to read http://wiki.qt.io/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,
|
||||
|
||||
58
.gitmodules
vendored
58
.gitmodules
vendored
@@ -1,52 +1,52 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtsvg"]
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtdeclarative"]
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtactiveqt"]
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtscript"]
|
||||
path = qtscript
|
||||
url = ../qtscript.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtmultimedia"]
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qttools"]
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtxmlpatterns"]
|
||||
path = qtxmlpatterns
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qttranslations"]
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtdoc"]
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtrepotools"]
|
||||
path = qtrepotools
|
||||
@@ -56,12 +56,12 @@
|
||||
[submodule "qtwebkit"]
|
||||
path = qtwebkit
|
||||
url = ../qtwebkit.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwebkit-examples"]
|
||||
path = qtwebkit-examples
|
||||
url = ../qtwebkit-examples.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtqa"]
|
||||
path = qtqa
|
||||
@@ -71,12 +71,12 @@
|
||||
[submodule "qtlocation"]
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtsensors"]
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtsystems"]
|
||||
path = qtsystems
|
||||
@@ -97,12 +97,12 @@
|
||||
[submodule "qtconnectivity"]
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwayland"]
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qt3d"]
|
||||
path = qt3d
|
||||
@@ -111,65 +111,65 @@
|
||||
[submodule "qtimageformats"]
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtquick1"]
|
||||
path = qtquick1
|
||||
url = ../qtquick1.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtgraphicaleffects"]
|
||||
path = qtgraphicaleffects
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtquickcontrols"]
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtserialport"]
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtx11extras"]
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtmacextras"]
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwinextras"]
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtandroidextras"]
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtenginio"]
|
||||
path = qtenginio
|
||||
url = ../qtenginio.git
|
||||
branch = 1.1.0
|
||||
branch = 1.1
|
||||
initrepo = true
|
||||
[submodule "qtwebsockets"]
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwebchannel"]
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwebengine"]
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 5.4.0
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
|
||||
8
README
8
README
@@ -14,7 +14,7 @@ HOW TO BUILD QT5
|
||||
|
||||
For other platform specific requirements,
|
||||
please see section "Setting up your machine" on:
|
||||
http://qt-project.org/wiki/Get_The_Source
|
||||
http://wiki.qt.io/Get_The_Source
|
||||
|
||||
Optional requirements
|
||||
---------------------
|
||||
@@ -119,9 +119,9 @@ HOW TO BUILD QT5
|
||||
|
||||
Building Qt5 from git
|
||||
=====================
|
||||
See http://qt-project.org/wiki/Building-Qt-5-from-Git and README.git
|
||||
See http://wiki.qt.io/Building_Qt_5_from_Git and README.git
|
||||
for more information.
|
||||
See http://qt-project.org/wiki/Qt-5 for the reference platforms.
|
||||
See http://wiki.qt.io/Qt_5 for the reference platforms.
|
||||
|
||||
|
||||
Documentation
|
||||
@@ -139,6 +139,6 @@ HOW TO BUILD QT5
|
||||
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://qt-project.org/wiki/Qt5DocumentationProject
|
||||
or in the following page: http://wiki.qt.io/Qt5DocumentationProject
|
||||
|
||||
Note: Building the documentation is only tested on desktop platforms.
|
||||
|
||||
@@ -5,7 +5,7 @@ OBTAINING QT5 FROM GIT
|
||||
========
|
||||
|
||||
For a more in-depth description on how to build Qt5 from git,
|
||||
please see: http://qt-project.org/wiki/Building-Qt-5-from-Git
|
||||
please see: http://wiki.qt.io/Building_Qt_5_from_Git
|
||||
|
||||
|
||||
Get The Submodules
|
||||
@@ -52,4 +52,4 @@ OBTAINING QT5 FROM GIT
|
||||
================================
|
||||
|
||||
For more information on how to develop and contribute to Qt, please see:
|
||||
http://qt-project.org/wiki/Category:Developing_Qt
|
||||
http://wiki.qt.io/Category:Developing_Qt
|
||||
|
||||
@@ -383,21 +383,10 @@ sub git_clone_all_submodules
|
||||
}
|
||||
|
||||
foreach my $module (@modules) {
|
||||
$self->git_clone_one_submodule($subdirs{$module}, $subbases{$module});
|
||||
$self->git_clone_one_submodule($subdirs{$module}, $subbases{$module}, $subbranches{$module});
|
||||
}
|
||||
|
||||
if ($self->{update}) {
|
||||
$self->exe('git', 'submodule', 'update', ($co_branch ? ('--remote', '--rebase') : ()));
|
||||
|
||||
foreach my $module (@modules) {
|
||||
if (-f $module.'/.gitmodules') {
|
||||
my $orig_cwd = getcwd();
|
||||
chdir($module) or confess "chdir $module: $OS_ERROR";
|
||||
$self->git_clone_all_submodules($subbases{$module}, 0, "all");
|
||||
chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
|
||||
}
|
||||
}
|
||||
} elsif ($co_branch) {
|
||||
if ($co_branch) {
|
||||
foreach my $module (@modules) {
|
||||
my $branch = $subbranches{$module};
|
||||
die("No branch defined for submodule $module.\n") if (!defined($branch));
|
||||
@@ -412,6 +401,20 @@ sub git_clone_all_submodules
|
||||
chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
|
||||
}
|
||||
}
|
||||
if ($self->{update}) {
|
||||
my @cmd = ('git', 'submodule', 'update', '--no-fetch');
|
||||
push @cmd, '--remote', '--rebase' if ($co_branch);
|
||||
$self->exe(@cmd);
|
||||
|
||||
foreach my $module (@modules) {
|
||||
if (-f $module.'/.gitmodules') {
|
||||
my $orig_cwd = getcwd();
|
||||
chdir($module) or confess "chdir $module: $OS_ERROR";
|
||||
$self->git_clone_all_submodules($subbases{$module}, 0, "all");
|
||||
chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -437,7 +440,7 @@ sub git_add_remotes
|
||||
|
||||
sub git_clone_one_submodule
|
||||
{
|
||||
my ($self, $submodule, $repo_basename) = @_;
|
||||
my ($self, $submodule, $repo_basename, $branch) = @_;
|
||||
|
||||
my $alternates = $self->{ 'alternates' };
|
||||
my $mirror_url = $self->{ 'mirror-url' };
|
||||
@@ -473,20 +476,31 @@ sub git_clone_one_submodule
|
||||
|
||||
my $do_clone = (! -e "$submodule/.git");
|
||||
if ($do_clone) {
|
||||
$self->exe('git', 'clone', @reference_args, ($mirror ? $mirror : $url), $submodule);
|
||||
push @reference_args, '--branch', $branch if ($branch);
|
||||
$self->exe('git', 'clone', @reference_args,
|
||||
($mirror ? $mirror : $url), $submodule);
|
||||
}
|
||||
|
||||
my $orig_cwd = getcwd();
|
||||
chdir($submodule) or confess "chdir $submodule: $OS_ERROR";
|
||||
|
||||
$self->exe('git', 'config', 'remote.origin.url', $url);
|
||||
if ($mirror) {
|
||||
# This is only for the user's convenience - we make no use of it.
|
||||
$self->exe('git', 'config', 'remote.mirror.url', $mirror);
|
||||
$self->exe('git', 'config', 'remote.mirror.fetch', '+refs/heads/*:refs/remotes/mirror/*');
|
||||
}
|
||||
|
||||
if (!$do_clone && $self->{update}) {
|
||||
$self->exe('git', 'fetch', ($mirror ? $mirror : $url));
|
||||
# If we didn't clone, fetch from the right location. We always update
|
||||
# the origin remote, so that submodule update --remote works.
|
||||
$self->exe('git', 'config', 'remote.origin.url', ($mirror ? $mirror : $url));
|
||||
$self->exe('git', 'fetch', 'origin');
|
||||
}
|
||||
|
||||
if (!($do_clone || $self->{update}) || $mirror) {
|
||||
# Leave the origin configured to the canonical URL. It's already correct
|
||||
# if we cloned/fetched without a mirror; otherwise it may be anything.
|
||||
$self->exe('git', 'config', 'remote.origin.url', $url);
|
||||
}
|
||||
|
||||
my $template = getcwd()."/../.commit-template";
|
||||
|
||||
Submodule qtactiveqt updated: ae5216a58b...f0a39bbfe1
Submodule qtandroidextras updated: b2880ad127...42b878b161
2
qtbase
2
qtbase
Submodule qtbase updated: 5367fa3562...d82d5b1c43
Submodule qtconnectivity updated: 5d405d07fb...ed8de4eb35
Submodule qtdeclarative updated: fdf004803d...2556b97ab2
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 251f5eaa2d...a390b74a20
Submodule qtenginio updated: f8ad37de2d...134dc76b7f
Submodule qtgraphicaleffects updated: 9e9600d922...c7ed28bece
Submodule qtimageformats updated: fdc7026fb7...ec301681e4
Submodule qtlocation updated: 7791dd790d...774eb1bccb
Submodule qtmacextras updated: a208e923c2...3a3a7d799b
Submodule qtmultimedia updated: 8b1ee17240...cc0569a038
2
qtqa
2
qtqa
Submodule qtqa updated: 6ded39926b...31235fa2d0
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: 1f92491bd9...ba0708a757
Submodule qtquickcontrols updated: ea099e341b...dd490a7fe2
Submodule qtrepotools updated: 620da34f0a...590f651476
2
qtscript
2
qtscript
Submodule qtscript updated: 1371263991...eb08742e8f
Submodule qtsensors updated: 10702cfa8c...5d6969bf32
Submodule qtserialport updated: 9aef6c3c8f...e257bdc9aa
2
qtsvg
2
qtsvg
Submodule qtsvg updated: eece19e626...ccae23961e
2
qttools
2
qttools
Submodule qttools updated: 5060a0ec7d...b73a47aa17
Submodule qttranslations updated: 3aad4ab471...f76e5c98b0
Submodule qtwayland updated: 7882407bb6...182488129c
Submodule qtwebchannel updated: 86d77a9008...7b5da1d3dd
Submodule qtwebengine updated: b292fd17bf...6c0d77396f
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 5d43584bab...ea590d74ea
Submodule qtwebkit-examples updated: 70bd4d5253...9f20ed0b48
Submodule qtwebsockets updated: d1c9ede199...02e0e2a977
Submodule qtwinextras updated: 654231e3da...d82df56fb9
Submodule qtx11extras updated: a21bbb4501...32b1ce9e1b
Submodule qtxmlpatterns updated: 2e8b90b33d...c21924d67a
Reference in New Issue
Block a user