mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-22 22:40:03 +08:00
Compare commits
27 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a5968ce75 | ||
|
|
843a3407f2 | ||
|
|
5400507252 | ||
|
|
210493d641 | ||
|
|
670466b6a3 | ||
|
|
07856d73e1 | ||
|
|
dfffbfdc26 | ||
|
|
b62714f88c | ||
|
|
24f1b3219d | ||
|
|
f7cb995d04 | ||
|
|
11963ba9f0 | ||
|
|
39ce0228da | ||
|
|
95bb29e243 | ||
|
|
68b5c48282 | ||
|
|
451f0a193b | ||
|
|
59e3021a52 | ||
|
|
ac6168c0cb | ||
|
|
be35b9f9af | ||
|
|
dc93c0d4d7 | ||
|
|
34c7caab3f | ||
|
|
9ebad7830d | ||
|
|
1ad0a17fa0 | ||
|
|
d553fc4fa9 | ||
|
|
b236ef6aef | ||
|
|
3439140073 | ||
|
|
1998742cea | ||
|
|
b1885ea725 |
@@ -14,7 +14,7 @@
|
|||||||
#
|
#
|
||||||
# ==[ Please wrap at 72 characters ]===================================|
|
# ==[ 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
|
# Change log entry: If this commit adds a significant feature, fixes an
|
||||||
# issue or contains a behavior change that is relevant to others,
|
# issue or contains a behavior change that is relevant to others,
|
||||||
|
|||||||
58
.gitmodules
vendored
58
.gitmodules
vendored
@@ -1,52 +1,52 @@
|
|||||||
[submodule "qtbase"]
|
[submodule "qtbase"]
|
||||||
path = qtbase
|
path = qtbase
|
||||||
url = ../qtbase.git
|
url = ../qtbase.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtsvg"]
|
[submodule "qtsvg"]
|
||||||
path = qtsvg
|
path = qtsvg
|
||||||
url = ../qtsvg.git
|
url = ../qtsvg.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtdeclarative"]
|
[submodule "qtdeclarative"]
|
||||||
path = qtdeclarative
|
path = qtdeclarative
|
||||||
url = ../qtdeclarative.git
|
url = ../qtdeclarative.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtactiveqt"]
|
[submodule "qtactiveqt"]
|
||||||
path = qtactiveqt
|
path = qtactiveqt
|
||||||
url = ../qtactiveqt.git
|
url = ../qtactiveqt.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtscript"]
|
[submodule "qtscript"]
|
||||||
path = qtscript
|
path = qtscript
|
||||||
url = ../qtscript.git
|
url = ../qtscript.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtmultimedia"]
|
[submodule "qtmultimedia"]
|
||||||
path = qtmultimedia
|
path = qtmultimedia
|
||||||
url = ../qtmultimedia.git
|
url = ../qtmultimedia.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qttools"]
|
[submodule "qttools"]
|
||||||
path = qttools
|
path = qttools
|
||||||
url = ../qttools.git
|
url = ../qttools.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtxmlpatterns"]
|
[submodule "qtxmlpatterns"]
|
||||||
path = qtxmlpatterns
|
path = qtxmlpatterns
|
||||||
url = ../qtxmlpatterns.git
|
url = ../qtxmlpatterns.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qttranslations"]
|
[submodule "qttranslations"]
|
||||||
path = qttranslations
|
path = qttranslations
|
||||||
url = ../qttranslations.git
|
url = ../qttranslations.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
path = qtrepotools
|
path = qtrepotools
|
||||||
@@ -56,12 +56,12 @@
|
|||||||
[submodule "qtwebkit"]
|
[submodule "qtwebkit"]
|
||||||
path = qtwebkit
|
path = qtwebkit
|
||||||
url = ../qtwebkit.git
|
url = ../qtwebkit.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtwebkit-examples"]
|
[submodule "qtwebkit-examples"]
|
||||||
path = qtwebkit-examples
|
path = qtwebkit-examples
|
||||||
url = ../qtwebkit-examples.git
|
url = ../qtwebkit-examples.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtqa"]
|
[submodule "qtqa"]
|
||||||
path = qtqa
|
path = qtqa
|
||||||
@@ -71,12 +71,12 @@
|
|||||||
[submodule "qtlocation"]
|
[submodule "qtlocation"]
|
||||||
path = qtlocation
|
path = qtlocation
|
||||||
url = ../qtlocation.git
|
url = ../qtlocation.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtsensors"]
|
[submodule "qtsensors"]
|
||||||
path = qtsensors
|
path = qtsensors
|
||||||
url = ../qtsensors.git
|
url = ../qtsensors.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtsystems"]
|
[submodule "qtsystems"]
|
||||||
path = qtsystems
|
path = qtsystems
|
||||||
@@ -97,12 +97,12 @@
|
|||||||
[submodule "qtconnectivity"]
|
[submodule "qtconnectivity"]
|
||||||
path = qtconnectivity
|
path = qtconnectivity
|
||||||
url = ../qtconnectivity.git
|
url = ../qtconnectivity.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtwayland"]
|
[submodule "qtwayland"]
|
||||||
path = qtwayland
|
path = qtwayland
|
||||||
url = ../qtwayland.git
|
url = ../qtwayland.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qt3d"]
|
[submodule "qt3d"]
|
||||||
path = qt3d
|
path = qt3d
|
||||||
@@ -111,65 +111,65 @@
|
|||||||
[submodule "qtimageformats"]
|
[submodule "qtimageformats"]
|
||||||
path = qtimageformats
|
path = qtimageformats
|
||||||
url = ../qtimageformats.git
|
url = ../qtimageformats.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtquick1"]
|
[submodule "qtquick1"]
|
||||||
path = qtquick1
|
path = qtquick1
|
||||||
url = ../qtquick1.git
|
url = ../qtquick1.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtgraphicaleffects"]
|
[submodule "qtgraphicaleffects"]
|
||||||
path = qtgraphicaleffects
|
path = qtgraphicaleffects
|
||||||
url = ../qtgraphicaleffects.git
|
url = ../qtgraphicaleffects.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtquickcontrols"]
|
[submodule "qtquickcontrols"]
|
||||||
path = qtquickcontrols
|
path = qtquickcontrols
|
||||||
url = ../qtquickcontrols.git
|
url = ../qtquickcontrols.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtserialport"]
|
[submodule "qtserialport"]
|
||||||
path = qtserialport
|
path = qtserialport
|
||||||
url = ../qtserialport.git
|
url = ../qtserialport.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtx11extras"]
|
[submodule "qtx11extras"]
|
||||||
path = qtx11extras
|
path = qtx11extras
|
||||||
url = ../qtx11extras.git
|
url = ../qtx11extras.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtmacextras"]
|
[submodule "qtmacextras"]
|
||||||
path = qtmacextras
|
path = qtmacextras
|
||||||
url = ../qtmacextras.git
|
url = ../qtmacextras.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtwinextras"]
|
[submodule "qtwinextras"]
|
||||||
path = qtwinextras
|
path = qtwinextras
|
||||||
url = ../qtwinextras.git
|
url = ../qtwinextras.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtandroidextras"]
|
[submodule "qtandroidextras"]
|
||||||
path = qtandroidextras
|
path = qtandroidextras
|
||||||
url = ../qtandroidextras.git
|
url = ../qtandroidextras.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtenginio"]
|
[submodule "qtenginio"]
|
||||||
path = qtenginio
|
path = qtenginio
|
||||||
url = ../qtenginio.git
|
url = ../qtenginio.git
|
||||||
branch = 1.1.1
|
branch = 1.1.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtwebsockets"]
|
[submodule "qtwebsockets"]
|
||||||
path = qtwebsockets
|
path = qtwebsockets
|
||||||
url = ../qtwebsockets.git
|
url = ../qtwebsockets.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtwebchannel"]
|
[submodule "qtwebchannel"]
|
||||||
path = qtwebchannel
|
path = qtwebchannel
|
||||||
url = ../qtwebchannel.git
|
url = ../qtwebchannel.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
[submodule "qtwebengine"]
|
[submodule "qtwebengine"]
|
||||||
path = qtwebengine
|
path = qtwebengine
|
||||||
url = ../qtwebengine.git
|
url = ../qtwebengine.git
|
||||||
branch = 5.4.1
|
branch = 5.4.2
|
||||||
initrepo = true
|
initrepo = true
|
||||||
|
|||||||
8
README
8
README
@@ -14,7 +14,7 @@ HOW TO BUILD QT5
|
|||||||
|
|
||||||
For other platform specific requirements,
|
For other platform specific requirements,
|
||||||
please see section "Setting up your machine" on:
|
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
|
Optional requirements
|
||||||
---------------------
|
---------------------
|
||||||
@@ -119,9 +119,9 @@ HOW TO BUILD QT5
|
|||||||
|
|
||||||
Building Qt5 from git
|
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.
|
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
|
Documentation
|
||||||
@@ -139,6 +139,6 @@ HOW TO BUILD QT5
|
|||||||
Running "qmake -query" will list the value of 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
|
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.
|
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,
|
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
|
Get The Submodules
|
||||||
@@ -52,4 +52,4 @@ OBTAINING QT5 FROM GIT
|
|||||||
================================
|
================================
|
||||||
|
|
||||||
For more information on how to develop and contribute to Qt, please see:
|
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) {
|
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}) {
|
if ($co_branch) {
|
||||||
$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) {
|
|
||||||
foreach my $module (@modules) {
|
foreach my $module (@modules) {
|
||||||
my $branch = $subbranches{$module};
|
my $branch = $subbranches{$module};
|
||||||
die("No branch defined for submodule $module.\n") if (!defined($branch));
|
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";
|
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;
|
return;
|
||||||
}
|
}
|
||||||
@@ -437,7 +440,7 @@ sub git_add_remotes
|
|||||||
|
|
||||||
sub git_clone_one_submodule
|
sub git_clone_one_submodule
|
||||||
{
|
{
|
||||||
my ($self, $submodule, $repo_basename) = @_;
|
my ($self, $submodule, $repo_basename, $branch) = @_;
|
||||||
|
|
||||||
my $alternates = $self->{ 'alternates' };
|
my $alternates = $self->{ 'alternates' };
|
||||||
my $mirror_url = $self->{ 'mirror-url' };
|
my $mirror_url = $self->{ 'mirror-url' };
|
||||||
@@ -473,20 +476,31 @@ sub git_clone_one_submodule
|
|||||||
|
|
||||||
my $do_clone = (! -e "$submodule/.git");
|
my $do_clone = (! -e "$submodule/.git");
|
||||||
if ($do_clone) {
|
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();
|
my $orig_cwd = getcwd();
|
||||||
chdir($submodule) or confess "chdir $submodule: $OS_ERROR";
|
chdir($submodule) or confess "chdir $submodule: $OS_ERROR";
|
||||||
|
|
||||||
$self->exe('git', 'config', 'remote.origin.url', $url);
|
|
||||||
if ($mirror) {
|
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.url', $mirror);
|
||||||
$self->exe('git', 'config', 'remote.mirror.fetch', '+refs/heads/*:refs/remotes/mirror/*');
|
$self->exe('git', 'config', 'remote.mirror.fetch', '+refs/heads/*:refs/remotes/mirror/*');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$do_clone && $self->{update}) {
|
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";
|
my $template = getcwd()."/../.commit-template";
|
||||||
|
|||||||
Submodule qtactiveqt updated: 23fefdce7b...58e9636802
Submodule qtandroidextras updated: 030a9c9a0d...aa69d43037
2
qtbase
2
qtbase
Submodule qtbase updated: 69196b38c4...e3983c8728
Submodule qtconnectivity updated: 9cc6a9b3af...c331ca56de
Submodule qtdeclarative updated: aebdf46499...79d56651ed
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 6c4215658a...9e6aabfd68
Submodule qtenginio updated: 37e40d3ae2...30ee95cd19
Submodule qtgraphicaleffects updated: caaf216efb...6eef4b5fa1
Submodule qtimageformats updated: 2cf398f541...98f83553e9
Submodule qtlocation updated: 72217c530e...f88c90a796
Submodule qtmacextras updated: 4f432b26b4...9ae5c51bd9
Submodule qtmultimedia updated: 6b6cb2121f...20dbf8490e
2
qtqa
2
qtqa
Submodule qtqa updated: ce0fb03726...e594817755
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: bc0cbee60c...c78f720de6
Submodule qtquickcontrols updated: daa01c6130...8fa384b13a
Submodule qtrepotools updated: cbddd3a5a6...590f651476
2
qtscript
2
qtscript
Submodule qtscript updated: 52e775b4d0...822df36f25
Submodule qtsensors updated: 2abe02fb8d...317ae4fd9f
Submodule qtserialport updated: 5a05fb7b63...b84fe7eb3d
2
qtsvg
2
qtsvg
Submodule qtsvg updated: d6357e1147...1fb79c9f2b
2
qttools
2
qttools
Submodule qttools updated: e8efb8f55d...7f5b11a4a6
Submodule qttranslations updated: 28db19a305...1224b6890e
Submodule qtwayland updated: 23bb7cad31...d5e7965a87
Submodule qtwebchannel updated: 616a5ea6ea...358e5acba3
Submodule qtwebengine updated: 72ff0b7d96...6a2c3043e7
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 383587d4f7...8b2647154a
Submodule qtwebkit-examples updated: e4076871cd...7346632777
Submodule qtwebsockets updated: 5f8093e6f9...5b469aa3c4
Submodule qtwinextras updated: e57ba2b4c0...2e25b08920
Submodule qtx11extras updated: ffeff89b84...bcc8631135
Submodule qtxmlpatterns updated: 060cc3c470...db784fb1c0
Reference in New Issue
Block a user