mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-07 23:46:51 +08:00
Compare commits
245 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c93bd3195 | ||
|
|
95817eeeda | ||
|
|
098f2810c0 | ||
|
|
0f8bdff0c1 | ||
|
|
a18c90fec7 | ||
|
|
6d2795b287 | ||
|
|
d75c976860 | ||
|
|
65784f37f1 | ||
|
|
67a89ff55b | ||
|
|
17313c94ae | ||
|
|
fd66e42f0d | ||
|
|
390a93d73b | ||
|
|
7a6e062902 | ||
|
|
64e231b697 | ||
|
|
3b579bd45f | ||
|
|
0c111c681f | ||
|
|
500c2a725b | ||
|
|
055e282245 | ||
|
|
56a5eee34a | ||
|
|
2c0f1cfb71 | ||
|
|
4fadcf5d88 | ||
|
|
fb66951776 | ||
|
|
55e55c405f | ||
|
|
982ee75828 | ||
|
|
06d2b3a720 | ||
|
|
67400663f8 | ||
|
|
b065abc7fd | ||
|
|
e045c53198 | ||
|
|
6d47ef2b92 | ||
|
|
74af16bd0d | ||
|
|
556a3377ff | ||
|
|
8ce1937883 | ||
|
|
e198c124d3 | ||
|
|
7704ce065d | ||
|
|
592415857c | ||
|
|
e169f588d8 | ||
|
|
6380ce86f1 | ||
|
|
9372697001 | ||
|
|
ed6175da93 | ||
|
|
63200543dd | ||
|
|
4e92039103 | ||
|
|
0a23321599 | ||
|
|
6b22ad702d | ||
|
|
a3152cb8f1 | ||
|
|
dc199e37d5 | ||
|
|
e1cd7c130b | ||
|
|
a7dc6fd595 | ||
|
|
fe236cc44c | ||
|
|
b2385231c4 | ||
|
|
7befa70253 | ||
|
|
805c735b02 | ||
|
|
ae9c68d190 | ||
|
|
ef51fe0ebb | ||
|
|
3b525e1235 | ||
|
|
17e103bb5d | ||
|
|
76e16b228e | ||
|
|
cbb3e6068e | ||
|
|
a4f6e14fc2 | ||
|
|
e259fdadce | ||
|
|
44e7f5d2e3 | ||
|
|
9710c4f2d2 | ||
|
|
604f330cd2 | ||
|
|
1d94d5ec03 | ||
|
|
b25883ebaa | ||
|
|
a968d5d531 | ||
|
|
7f32937275 | ||
|
|
f92227236c | ||
|
|
5fd794ca6d | ||
|
|
563b32ee25 | ||
|
|
4b256e249b | ||
|
|
f37564a749 | ||
|
|
c8d3a71d7c | ||
|
|
402457bcfb | ||
|
|
baac9b5129 | ||
|
|
06d0fa240f | ||
|
|
a250914fec | ||
|
|
f7b7ff4f9f | ||
|
|
ec0c8697aa | ||
|
|
02353a4b3e | ||
|
|
b5594043bc | ||
|
|
323825a1db | ||
|
|
d8f6092efd | ||
|
|
e2d566a72d | ||
|
|
0ea66cab6e | ||
|
|
100c98b9fc | ||
|
|
dbac1e77f7 | ||
|
|
27f8dc93ae | ||
|
|
f62385a213 | ||
|
|
948ce9ed9e | ||
|
|
284765a1be | ||
|
|
eda3b9c308 | ||
|
|
f3f634ae66 | ||
|
|
fbb4041031 | ||
|
|
b7081d3f13 | ||
|
|
52a9312100 | ||
|
|
fc6f18a589 | ||
|
|
83768ab768 | ||
|
|
e137a789a9 | ||
|
|
0533da6bc1 | ||
|
|
7c73e564bd | ||
|
|
749bc264b2 | ||
|
|
234dcbfcba | ||
|
|
b742f171c9 | ||
|
|
babbfd7ae3 | ||
|
|
cf08b0d109 | ||
|
|
5987a236d0 | ||
|
|
08e6aa58fb | ||
|
|
8b4022260b | ||
|
|
758d922716 | ||
|
|
c116096065 | ||
|
|
7e2e8cad66 | ||
|
|
4c925babf9 | ||
|
|
cb2d850b47 | ||
|
|
d000023376 | ||
|
|
38b7c75f6b | ||
|
|
1aa3ccbc4c | ||
|
|
f9a5d19416 | ||
|
|
728cd2e173 | ||
|
|
f09783bb80 | ||
|
|
bc6bcaa323 | ||
|
|
7f523a7aa3 | ||
|
|
bf0bfeb991 | ||
|
|
e937791dcb | ||
|
|
0d22f2d30d | ||
|
|
f3636c9757 | ||
|
|
2f20faa052 | ||
|
|
433e143b23 | ||
|
|
acd97fec50 | ||
|
|
2bcd8e1a9f | ||
|
|
23101c9dd5 | ||
|
|
e39f4e8b4b | ||
|
|
270009dfde | ||
|
|
f3ee66d9b2 | ||
|
|
3840892d83 | ||
|
|
4072c25a70 | ||
|
|
ea9702923e | ||
|
|
96bd21c4c4 | ||
|
|
70c2051332 | ||
|
|
85d30ddaa3 | ||
|
|
770893c71b | ||
|
|
c0594e303e | ||
|
|
6ca2fbea87 | ||
|
|
33b6b2677e | ||
|
|
d5cc1add47 | ||
|
|
b6faaac713 | ||
|
|
941dd92e5b | ||
|
|
33606f80b5 | ||
|
|
824cfe84a8 | ||
|
|
056329bd5c | ||
|
|
c4605dfbf0 | ||
|
|
e8816c8ef4 | ||
|
|
fb2020a44f | ||
|
|
000a215563 | ||
|
|
7b5e4f67b7 | ||
|
|
e3de6338ce | ||
|
|
2ede7f403a | ||
|
|
ad241de71b | ||
|
|
b9a6f134d8 | ||
|
|
8ec5f76383 | ||
|
|
8abcedd5bd | ||
|
|
ef7a925802 | ||
|
|
dd9853b3cb | ||
|
|
36ed7ab38d | ||
|
|
a145dba334 | ||
|
|
94eef4e5f7 | ||
|
|
a44fe424bc | ||
|
|
e1325f4c4c | ||
|
|
f243edd33f | ||
|
|
35fe76d9c3 | ||
|
|
51c0a11ff3 | ||
|
|
df81b47f57 | ||
|
|
5d1f1f2817 | ||
|
|
1421f888a7 | ||
|
|
3d55ee3e80 | ||
|
|
d06469a626 | ||
|
|
02567c71ad | ||
|
|
292fa5832f | ||
|
|
23c300afd1 | ||
|
|
d6f8db264e | ||
|
|
6d1d35416f | ||
|
|
f5e182de18 | ||
|
|
6493c3d813 | ||
|
|
7b8a659ecc | ||
|
|
0927a9a0f8 | ||
|
|
c3532a18c9 | ||
|
|
c57a761615 | ||
|
|
f350c3bb51 | ||
|
|
33aa233ae4 | ||
|
|
8c4e0a4a95 | ||
|
|
a289ec8a03 | ||
|
|
0b24bc3851 | ||
|
|
6a0f795172 | ||
|
|
e16cdebb77 | ||
|
|
8e11fdb939 | ||
|
|
ef8000991e | ||
|
|
9b68559f3c | ||
|
|
20ecf7efa5 | ||
|
|
5ae49dac5a | ||
|
|
0e9f726baf | ||
|
|
d060acfac5 | ||
|
|
f3d6fe82ab | ||
|
|
76e3f3d2a6 | ||
|
|
a3dd3624f9 | ||
|
|
66b6d8fc7d | ||
|
|
df0a7fd6dc | ||
|
|
8732a4c5cd | ||
|
|
7124fb036a | ||
|
|
6670595185 | ||
|
|
28460e497c | ||
|
|
89e3b0deae | ||
|
|
6a60f386b8 | ||
|
|
f828e05a91 | ||
|
|
511255ebfd | ||
|
|
188bb452fd | ||
|
|
3a770f5d45 | ||
|
|
0490066027 | ||
|
|
3b9d57e413 | ||
|
|
f62ba0352b | ||
|
|
c28bacd49f | ||
|
|
90ca6825c4 | ||
|
|
3a55bb51ac | ||
|
|
4fcad903b1 | ||
|
|
7627c87948 | ||
|
|
f9fc16a5b4 | ||
|
|
fbd69b7602 | ||
|
|
7e979b67af | ||
|
|
47fb446cbe | ||
|
|
da69011610 | ||
|
|
eafc5686a6 | ||
|
|
7473ab6b3c | ||
|
|
123cf8b2cb | ||
|
|
bbc5dca735 | ||
|
|
bb9e60870c | ||
|
|
cbe70b9b60 | ||
|
|
3814e96edd | ||
|
|
bbb720486f | ||
|
|
8e64df0756 | ||
|
|
ec1a2c1557 | ||
|
|
8b6ae1cdd9 | ||
|
|
ff63f0f3dc | ||
|
|
cd769b2d31 | ||
|
|
6207f23126 | ||
|
|
6ff7fbc685 | ||
|
|
713cc7fcc2 | ||
|
|
79f9d60b77 |
@@ -4,15 +4,27 @@
|
|||||||
# ==[ Details: Describe what changed and explain why it changed ]======|
|
# ==[ Details: Describe what changed and explain why it changed ]======|
|
||||||
|
|
||||||
|
|
||||||
|
# Change log entry (see below for instructions).
|
||||||
|
#[ChangeLog][][]
|
||||||
|
|
||||||
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
||||||
#
|
#
|
||||||
# One task per entry. Remember space after colon.
|
# One task per entry. Remember space after colon.
|
||||||
#Task-number:
|
#Task-number:
|
||||||
#
|
#
|
||||||
# Solicit reviewers. They still need to use the Gerrit frontend.
|
|
||||||
#Reviewed-by:
|
|
||||||
|
|
||||||
# ==[ 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-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
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
Makefile
|
Makefile
|
||||||
.qmake.cache
|
.qmake.cache
|
||||||
|
.qmake.super
|
||||||
|
|||||||
21
.gitmodules
vendored
21
.gitmodules
vendored
@@ -28,9 +28,6 @@
|
|||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
[submodule "qlalr"]
|
|
||||||
path = qlalr
|
|
||||||
url = ../qlalr.git
|
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
path = qtrepotools
|
path = qtrepotools
|
||||||
url = ../qtrepotools.git
|
url = ../qtrepotools.git
|
||||||
@@ -73,9 +70,6 @@
|
|||||||
[submodule "qt3d"]
|
[submodule "qt3d"]
|
||||||
path = qt3d
|
path = qt3d
|
||||||
url = ../qt3d.git
|
url = ../qt3d.git
|
||||||
[submodule "qtjsbackend"]
|
|
||||||
path = qtjsbackend
|
|
||||||
url = ../qtjsbackend.git
|
|
||||||
[submodule "qtimageformats"]
|
[submodule "qtimageformats"]
|
||||||
path = qtimageformats
|
path = qtimageformats
|
||||||
url = ../qtimageformats.git
|
url = ../qtimageformats.git
|
||||||
@@ -94,3 +88,18 @@
|
|||||||
[submodule "qtx11extras"]
|
[submodule "qtx11extras"]
|
||||||
path = qtx11extras
|
path = qtx11extras
|
||||||
url = ../qtx11extras.git
|
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
9
README
@@ -127,12 +127,13 @@ HOW TO BUILD QT5
|
|||||||
Documentation
|
Documentation
|
||||||
=============
|
=============
|
||||||
|
|
||||||
After the configure step, building the documentation is possible by running
|
After configuring and compiling Qt, building the documentation is possible by running
|
||||||
"make docs".
|
"make docs".
|
||||||
Example:
|
|
||||||
|
|
||||||
./configure -prefix $PWD/qtbase -opensource
|
After having built the documentation, you need to install it with the following
|
||||||
make docs
|
command:
|
||||||
|
|
||||||
|
make install_docs
|
||||||
|
|
||||||
The documentation is installed in the path set to $QT_INSTALL_DOCS.
|
The documentation is installed in the path set to $QT_INSTALL_DOCS.
|
||||||
Running "qmake -query" will list the value of QT_INSTALL_DOCS.
|
Running "qmake -query" will list the value of QT_INSTALL_DOCS.
|
||||||
|
|||||||
10
configure
vendored
10
configure
vendored
@@ -53,11 +53,5 @@ mkdir -p qtbase || exit
|
|||||||
echo "+ cd qtbase"
|
echo "+ cd qtbase"
|
||||||
cd qtbase || exit
|
cd qtbase || exit
|
||||||
|
|
||||||
echo "+ $configure $@"
|
echo "+ $configure -top-level $@"
|
||||||
"$configure" "$@" || exit 1
|
exec "$configure" -top-level "$@"
|
||||||
|
|
||||||
echo "+ cd .."
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
echo "+ qtbase/bin/qmake $srcpath"
|
|
||||||
exec qtbase/bin/qmake "$srcpath"
|
|
||||||
|
|||||||
@@ -52,17 +52,10 @@ if not exist qtbase mkdir qtbase || exit /b 1
|
|||||||
echo + cd qtbase
|
echo + cd qtbase
|
||||||
cd qtbase || exit /b 1
|
cd qtbase || exit /b 1
|
||||||
|
|
||||||
echo + %configure% %*
|
echo + %configure% -top-level %*
|
||||||
call %configure% %*
|
call %configure% -top-level %*
|
||||||
set err=%errorlevel%
|
set err=%errorlevel%
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
if not %err% == 0 goto out
|
|
||||||
|
|
||||||
echo + qtbase\bin\qmake %srcpath%
|
|
||||||
qtbase\bin\qmake %srcpath%
|
|
||||||
set err=%errorlevel%
|
|
||||||
|
|
||||||
:out
|
|
||||||
exit /b %err%
|
exit /b %err%
|
||||||
|
|||||||
111
init-repository
111
init-repository
@@ -70,6 +70,12 @@ B<Global options:>
|
|||||||
Force initialization (even if the submodules are already checked out).
|
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
|
=item --quiet, -q
|
||||||
|
|
||||||
Be quiet. Will exit cleanly if the repository is already initialized.
|
Be quiet. Will exit cleanly if the repository is already initialized.
|
||||||
@@ -104,8 +110,6 @@ Skip the `git submodule update' command.
|
|||||||
Set git config to ignore submodules by default when doing operations on the
|
Set git config to ignore submodules by default when doing operations on the
|
||||||
qt5 repo, such as `pull', `fetch', `diff' etc.
|
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
|
After using this option, pass `--ignore-submodules=none' to git to override
|
||||||
it as needed.
|
it as needed.
|
||||||
|
|
||||||
@@ -116,24 +120,15 @@ B<Repository options:>
|
|||||||
|
|
||||||
=over
|
=over
|
||||||
|
|
||||||
=item --nokia-developer
|
|
||||||
|
|
||||||
Switch to internal Nokia URLs.
|
|
||||||
|
|
||||||
|
|
||||||
=item --berlin
|
=item --berlin
|
||||||
|
|
||||||
Switch to internal Nokia URLs and make use of the Berlin git mirrors.
|
Switch to internal URLs and make use of the Berlin git mirrors.
|
||||||
(Implies `--mirror').
|
(Implies `--mirror').
|
||||||
|
|
||||||
|
=item --oslo
|
||||||
|
|
||||||
=item --ssh
|
Switch to internal URLs and make use of the Oslo git mirrors.
|
||||||
|
(Implies `--mirror').
|
||||||
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
|
=item --http
|
||||||
@@ -205,27 +200,26 @@ use Pod::Usage qw( pod2usage );
|
|||||||
use Cwd qw( getcwd );
|
use Cwd qw( getcwd );
|
||||||
|
|
||||||
my %PROTOCOLS = (
|
my %PROTOCOLS = (
|
||||||
'internal' => 'git://scm.dev.nokia.troll.no/' ,
|
|
||||||
'ssh' => 'git@scm.dev.nokia.troll.no:' ,
|
|
||||||
'http' => 'http://git.gitorious.org/' ,
|
'http' => 'http://git.gitorious.org/' ,
|
||||||
);
|
);
|
||||||
|
|
||||||
my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
|
my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
|
||||||
qt3d
|
qt3d
|
||||||
qt5
|
qt5
|
||||||
qlalr
|
|
||||||
qtactiveqt
|
qtactiveqt
|
||||||
|
qtandroidextras
|
||||||
qtbase
|
qtbase
|
||||||
qtconnectivity
|
qtconnectivity
|
||||||
qtdeclarative
|
qtdeclarative
|
||||||
qtdoc
|
qtdoc
|
||||||
qtdocgallery
|
qtdocgallery
|
||||||
|
qtenginio
|
||||||
qtfeedback
|
qtfeedback
|
||||||
qtgraphicaleffects
|
qtgraphicaleffects
|
||||||
qtimageformats
|
qtimageformats
|
||||||
qtjsondb
|
qtjsondb
|
||||||
qtjsbackend
|
|
||||||
qtlocation
|
qtlocation
|
||||||
|
qtmacextras
|
||||||
qtmultimedia
|
qtmultimedia
|
||||||
qtpim
|
qtpim
|
||||||
qtqa
|
qtqa
|
||||||
@@ -242,22 +236,28 @@ my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
|
|||||||
qtwayland
|
qtwayland
|
||||||
qtwebkit
|
qtwebkit
|
||||||
qtwebkit-examples
|
qtwebkit-examples
|
||||||
|
qtwebsockets
|
||||||
|
qtwinextras
|
||||||
qtx11extras
|
qtx11extras
|
||||||
qtxmlpatterns
|
qtxmlpatterns
|
||||||
);
|
);
|
||||||
|
|
||||||
my @DEFAULT_REPOS = qw(
|
my @DEFAULT_REPOS = qw(
|
||||||
qtactiveqt
|
qtactiveqt
|
||||||
|
qtandroidextras
|
||||||
qtbase
|
qtbase
|
||||||
|
qtconnectivity
|
||||||
qtdeclarative
|
qtdeclarative
|
||||||
qtdoc
|
qtdoc
|
||||||
|
qtenginio
|
||||||
qtgraphicaleffects
|
qtgraphicaleffects
|
||||||
qtimageformats
|
qtimageformats
|
||||||
qtjsbackend
|
qtmacextras
|
||||||
qtmultimedia
|
qtmultimedia
|
||||||
qtqa
|
qtqa
|
||||||
qtquick1
|
qtquick1
|
||||||
qtquickcontrols
|
qtquickcontrols
|
||||||
|
qtlocation
|
||||||
qtrepotools
|
qtrepotools
|
||||||
qtscript
|
qtscript
|
||||||
qtsensors
|
qtsensors
|
||||||
@@ -265,8 +265,10 @@ my @DEFAULT_REPOS = qw(
|
|||||||
qtsvg
|
qtsvg
|
||||||
qttools
|
qttools
|
||||||
qttranslations
|
qttranslations
|
||||||
|
qtwebsockets
|
||||||
qtwebkit
|
qtwebkit
|
||||||
qtwebkit-examples
|
qtwebkit-examples
|
||||||
|
qtwinextras
|
||||||
qtx11extras
|
qtx11extras
|
||||||
qtxmlpatterns
|
qtxmlpatterns
|
||||||
);
|
);
|
||||||
@@ -275,7 +277,10 @@ my $GERRIT_SSH_BASE
|
|||||||
= 'ssh://@USER@codereview.qt-project.org@PORT@/';
|
= 'ssh://@USER@codereview.qt-project.org@PORT@/';
|
||||||
|
|
||||||
my $BER_MIRROR_URL_BASE
|
my $BER_MIRROR_URL_BASE
|
||||||
= 'git://ber-git.europe.nokia.com/';
|
= 'git://hegel/';
|
||||||
|
|
||||||
|
my $OSLO_MIRROR_URL_BASE
|
||||||
|
= 'git://qilin/';
|
||||||
|
|
||||||
sub new
|
sub new
|
||||||
{
|
{
|
||||||
@@ -313,9 +318,9 @@ sub parse_arguments
|
|||||||
'codereview-username' => "",
|
'codereview-username' => "",
|
||||||
'detach-alternates' => 0 ,
|
'detach-alternates' => 0 ,
|
||||||
'force' => 0 ,
|
'force' => 0 ,
|
||||||
|
'force-hooks' => 0 ,
|
||||||
'ignore-submodules' => 0 ,
|
'ignore-submodules' => 0 ,
|
||||||
'mirror-url' => "",
|
'mirror-url' => "",
|
||||||
'nokia-developer' => 0 ,
|
|
||||||
'protocol' => "",
|
'protocol' => "",
|
||||||
'update' => 1 ,
|
'update' => 1 ,
|
||||||
'webkit' => 1 ,
|
'webkit' => 1 ,
|
||||||
@@ -326,10 +331,10 @@ sub parse_arguments
|
|||||||
'alternates=s' => \$self->{qw{ alternates }},
|
'alternates=s' => \$self->{qw{ alternates }},
|
||||||
'codereview-username=s' => \$self->{qw{ codereview-username }},
|
'codereview-username=s' => \$self->{qw{ codereview-username }},
|
||||||
'copy-objects' => \$self->{qw{ detach-alternates }},
|
'copy-objects' => \$self->{qw{ detach-alternates }},
|
||||||
'force' => \$self->{qw{ force }},
|
'force|f' => \$self->{qw{ force }},
|
||||||
|
'force-hooks' => \$self->{qw{ force-hooks }},
|
||||||
'ignore-submodules' => \$self->{qw{ ignore-submodules }},
|
'ignore-submodules' => \$self->{qw{ ignore-submodules }},
|
||||||
'mirror=s' => \$self->{qw{ mirror-url }},
|
'mirror=s' => \$self->{qw{ mirror-url }},
|
||||||
'nokia-developer' => \$self->{qw{ nokia-developer }},
|
|
||||||
'quiet' => \$self->{qw{ quiet }},
|
'quiet' => \$self->{qw{ quiet }},
|
||||||
'update!' => \$self->{qw{ update }},
|
'update!' => \$self->{qw{ update }},
|
||||||
'webkit!' => \$self->{qw{ webkit }},
|
'webkit!' => \$self->{qw{ webkit }},
|
||||||
@@ -337,26 +342,15 @@ sub parse_arguments
|
|||||||
|
|
||||||
'help|?' => sub { pod2usage(1); },
|
'help|?' => sub { pod2usage(1); },
|
||||||
'http' => sub { $self->{protocol} = 'http'; },
|
'http' => sub { $self->{protocol} = 'http'; },
|
||||||
'ssh|ssh-protocol' => sub { $self->{protocol} = 'ssh'; },
|
|
||||||
|
|
||||||
'berlin|berlin-nokia-developer' => sub {
|
'berlin' => sub {
|
||||||
$self->{'nokia-developer'} = 1;
|
|
||||||
$self->{'protocol'} = 'internal';
|
|
||||||
$self->{'mirror-url'} = $BER_MIRROR_URL_BASE;
|
$self->{'mirror-url'} = $BER_MIRROR_URL_BASE;
|
||||||
},
|
},
|
||||||
|
'oslo' => sub {
|
||||||
'nokia-developer' => sub {
|
$self->{'mirror-url'} = $OSLO_MIRROR_URL_BASE;
|
||||||
$self->{'nokia-developer'} = 1;
|
|
||||||
$self->{'protocol'} = 'internal';
|
|
||||||
$self->{'ignore-submodules'} = 1;
|
|
||||||
},
|
},
|
||||||
) || pod2usage(2);
|
) || 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
|
# Replace any double trailing slashes from end of mirror
|
||||||
$self->{'mirror-url'} =~ s{//+$}{/};
|
$self->{'mirror-url'} =~ s{//+$}{/};
|
||||||
|
|
||||||
@@ -455,12 +449,7 @@ sub git_set_submodule_config
|
|||||||
my $value = $2;
|
my $value = $2;
|
||||||
|
|
||||||
if ($protocol) {
|
if ($protocol) {
|
||||||
# qt-labs projects are still hosted under qt internally.
|
# rewrite URL to chosen protocol
|
||||||
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,;
|
$value =~ s,^git://gitorious\.org/,$url_base_for_protocol,;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -595,6 +584,38 @@ sub git_clone_one_submodule
|
|||||||
return;
|
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
|
sub run
|
||||||
{
|
{
|
||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
@@ -616,6 +637,8 @@ sub run
|
|||||||
|
|
||||||
$self->git_add_remotes('qt5');
|
$self->git_add_remotes('qt5');
|
||||||
|
|
||||||
|
$self->git_install_hooks;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1
qlalr
1
qlalr
Submodule qlalr deleted from d7064c2c7d
25
qt.pro
25
qt.pro
@@ -3,6 +3,7 @@ cache(, super)
|
|||||||
|
|
||||||
CONFIG += build_pass # hack to disable the .qmake.super auto-add
|
CONFIG += build_pass # hack to disable the .qmake.super auto-add
|
||||||
load(qt_build_config)
|
load(qt_build_config)
|
||||||
|
CONFIG -= build_pass # unhack, as it confuses Qt Creator
|
||||||
|
|
||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
@@ -53,34 +54,40 @@ defineTest(addModule) {
|
|||||||
# 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.
|
||||||
|
|
||||||
|
ANDROID_EXTRAS =
|
||||||
|
android: ANDROID_EXTRAS = qtandroidextras
|
||||||
|
|
||||||
addModule(qtbase)
|
addModule(qtbase)
|
||||||
|
addModule(qtandroidextras, qtbase)
|
||||||
|
addModule(qtmacextras, qtbase)
|
||||||
addModule(qtx11extras, qtbase)
|
addModule(qtx11extras, qtbase)
|
||||||
addModule(qlalr, qtbase)
|
|
||||||
addModule(qtsvg, qtbase)
|
addModule(qtsvg, qtbase)
|
||||||
addModule(qtxmlpatterns, qtbase)
|
addModule(qtxmlpatterns, qtbase)
|
||||||
addModule(qtjsbackend, qtbase)
|
addModule(qtdeclarative, qtbase, qtsvg qtxmlpatterns)
|
||||||
addModule(qtdeclarative, qtjsbackend, qtsvg qtxmlpatterns)
|
|
||||||
addModule(qtquickcontrols, qtdeclarative)
|
addModule(qtquickcontrols, qtdeclarative)
|
||||||
addModule(qtmultimedia, qtdeclarative)
|
addModule(qtmultimedia, qtdeclarative)
|
||||||
|
addModule(qtwinextras, qtbase, qtdeclarative qtmultimedia)
|
||||||
addModule(qtactiveqt, qtbase)
|
addModule(qtactiveqt, qtbase)
|
||||||
addModule(qt3d, qtdeclarative)
|
addModule(qt3d, qtdeclarative)
|
||||||
addModule(qtjsondb, qtdeclarative)
|
addModule(qtjsondb, qtdeclarative)
|
||||||
addModule(qtsystems, qtbase, qtdeclarative qtjsondb)
|
addModule(qtsystems, qtbase, qtdeclarative)
|
||||||
addModule(qtlocation, qtbase, qt3d qtjsondb qtsystems qtmultimedia)
|
addModule(qtlocation, qtbase, qt3d qtsystems qtmultimedia)
|
||||||
addModule(qtsensors, qtbase, qtdeclarative)
|
addModule(qtsensors, qtbase, qtdeclarative)
|
||||||
addModule(qtconnectivity, qtsystems)
|
addModule(qtconnectivity, qtbase $$ANDROID_EXTRAS, qtdeclarative)
|
||||||
addModule(qtfeedback, qtdeclarative, qtmultimedia)
|
addModule(qtfeedback, qtdeclarative, qtmultimedia)
|
||||||
addModule(qtpim, qtdeclarative, qtjsondb)
|
addModule(qtpim, qtdeclarative, qtjsondb)
|
||||||
addModule(qtwebkit, qtdeclarative, qtlocation qtsensors, WebKit.pro)
|
addModule(qtwebkit, qtdeclarative, qtlocation qtmultimedia qtsensors, WebKit.pro)
|
||||||
addModule(qttools, qtbase, qtdeclarative qtactiveqt qtwebkit)
|
addModule(qttools, qtbase, qtdeclarative qtactiveqt qtwebkit)
|
||||||
addModule(qtwebkit-examples, qtwebkit qttools)
|
addModule(qtwebkit-examples, qtwebkit qttools)
|
||||||
addModule(qtimageformats, qtbase)
|
addModule(qtimageformats, qtbase)
|
||||||
addModule(qtgraphicaleffects, qtdeclarative)
|
addModule(qtgraphicaleffects, qtdeclarative)
|
||||||
addModule(qtscript, qtbase)
|
addModule(qtscript, qtbase, qttools)
|
||||||
addModule(qtquick1, qtscript, qtsvg qtxmlpatterns qtwebkit qttools)
|
addModule(qtquick1, qtscript, qtsvg qtxmlpatterns qtwebkit)
|
||||||
addModule(qtdocgallery, qtdeclarative, qtjsondb)
|
addModule(qtdocgallery, qtdeclarative, qtjsondb)
|
||||||
!win32:!mac:addModule(qtwayland, qtbase, qtdeclarative)
|
!win32:!mac:addModule(qtwayland, qtbase, qtdeclarative)
|
||||||
addModule(qtserialport, qtbase)
|
addModule(qtserialport, qtbase)
|
||||||
|
addModule(qtenginio, qtdeclarative)
|
||||||
|
addModule(qtwebsockets, qtbase, qtdeclarative)
|
||||||
addModule(qttranslations, qttools)
|
addModule(qttranslations, qttools)
|
||||||
addModule(qtdoc, qtdeclarative)
|
addModule(qtdoc, qtdeclarative)
|
||||||
addModule(qtqa, qtbase)
|
addModule(qtqa, qtbase)
|
||||||
|
|||||||
2
qt3d
2
qt3d
Submodule qt3d updated: 6b8ee028ac...9a4f9f3eca
Submodule qtactiveqt updated: 8c1759ed70...eaf2383f13
1
qtandroidextras
Submodule
1
qtandroidextras
Submodule
Submodule qtandroidextras added at 585d3147c9
2
qtbase
2
qtbase
Submodule qtbase updated: 215f137e29...4e9853139c
Submodule qtconnectivity updated: fee6b50154...5aee8f17fb
Submodule qtdeclarative updated: 811337a73c...073cde9d21
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 4d875f2b06...96a82f9c50
Submodule qtdocgallery updated: f3fa41d4a9...870b170354
1
qtenginio
Submodule
1
qtenginio
Submodule
Submodule qtenginio added at e5ae557f99
Submodule qtfeedback updated: 0d85e95a06...dea0da7265
Submodule qtgraphicaleffects updated: 535c6978fd...9b1883d2e9
Submodule qtimageformats updated: 37257d4be0...554d617762
Submodule qtjsbackend deleted from ca1ac7634f
2
qtjsondb
2
qtjsondb
Submodule qtjsondb updated: 3b693a54e5...4497f2a754
Submodule qtlocation updated: fd330db9e5...73c42e6ef7
1
qtmacextras
Submodule
1
qtmacextras
Submodule
Submodule qtmacextras added at ddbbc1f08c
Submodule qtmultimedia updated: 1c0cfdf408...82d96105ce
2
qtpim
2
qtpim
Submodule qtpim updated: 099111a9fb...902c55a228
2
qtqa
2
qtqa
Submodule qtqa updated: 6c31afb3f6...9b8b16242b
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: c3eae1e470...96c2c1aff1
Submodule qtquickcontrols updated: aa4ddfd844...d1320d78c6
Submodule qtrepotools updated: e4364f46e0...a4221488ce
2
qtscript
2
qtscript
Submodule qtscript updated: e2415c8b95...08d9ef7152
Submodule qtsensors updated: e26a41a51d...43e7f32c77
Submodule qtserialport updated: 58365228b3...3d19812f74
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 0b7bb2bd2d...bbf16bd902
Submodule qtsystems updated: 620592b4bc...5084080c62
2
qttools
2
qttools
Submodule qttools updated: d403785d9b...16ee0c0f9e
Submodule qttranslations updated: eb8ee6a96b...56c55b5db6
Submodule qtwayland updated: 7334963a79...af551d0e4f
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 0368bb7e26...251a3c50ca
Submodule qtwebkit-examples updated: bb4c9761d2...5f0fbc683b
1
qtwebsockets
Submodule
1
qtwebsockets
Submodule
Submodule qtwebsockets added at 6419556a2b
1
qtwinextras
Submodule
1
qtwinextras
Submodule
Submodule qtwinextras added at d33a455084
Submodule qtx11extras updated: 1a095bd1f4...947361a7dc
Submodule qtxmlpatterns updated: ce0f629b74...d25091bb8b
Reference in New Issue
Block a user