mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-31 04:15:41 +08:00
Compare commits
53 Commits
5.5
...
v5.6.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a93760f957 | ||
|
|
d678e02936 | ||
|
|
1c04b1f7bd | ||
|
|
2a46300588 | ||
|
|
d527415ac6 | ||
|
|
f128a9a7e1 | ||
|
|
83b45e9030 | ||
|
|
1197dbb1db | ||
|
|
d55a9e3a66 | ||
|
|
4aabf3e19d | ||
|
|
ddcc9b234e | ||
|
|
95a89a8b5a | ||
|
|
98717e27d0 | ||
|
|
5197447fd0 | ||
|
|
a0309a7a43 | ||
|
|
17c6369c9e | ||
|
|
6f0713adf6 | ||
|
|
0c4ec778f5 | ||
|
|
6382845a6d | ||
|
|
383b2585e3 | ||
|
|
ee443af314 | ||
|
|
d16a8656f9 | ||
|
|
c78fc65631 | ||
|
|
ae1dc7aa3e | ||
|
|
942ae1dd82 | ||
|
|
d7f477d1cd | ||
|
|
c42dd3462b | ||
|
|
944aa6bcbb | ||
|
|
a89c6ef703 | ||
|
|
2ebfdb4ca8 | ||
|
|
9bde440225 | ||
|
|
e734941df8 | ||
|
|
c5cb9d2d89 | ||
|
|
4c520caa69 | ||
|
|
4116ec2474 | ||
|
|
3e1fd2cb31 | ||
|
|
1a46c456eb | ||
|
|
812ff69df4 | ||
|
|
c9425926e1 | ||
|
|
f587983764 | ||
|
|
cab251cd8d | ||
|
|
1d3966833b | ||
|
|
dc11a32883 | ||
|
|
c5910fb0b2 | ||
|
|
c5e8796659 | ||
|
|
5c321f6626 | ||
|
|
3009287ec7 | ||
|
|
7257e86c73 | ||
|
|
9edcb24889 | ||
|
|
b34e3669ff | ||
|
|
1b9d3e4ec0 | ||
|
|
b02397e9df | ||
|
|
4afaae4020 |
83
.gitmodules
vendored
83
.gitmodules
vendored
@@ -1,52 +1,52 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtsvg"]
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtdeclarative"]
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtactiveqt"]
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtscript"]
|
||||
path = qtscript
|
||||
url = ../qtscript.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtmultimedia"]
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qttools"]
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtxmlpatterns"]
|
||||
path = qtxmlpatterns
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qttranslations"]
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtdoc"]
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtrepotools"]
|
||||
path = qtrepotools
|
||||
@@ -56,13 +56,11 @@
|
||||
[submodule "qtwebkit"]
|
||||
path = qtwebkit
|
||||
url = ../qtwebkit.git
|
||||
branch = 5.5
|
||||
initrepo = true
|
||||
branch = 5.6
|
||||
[submodule "qtwebkit-examples"]
|
||||
path = qtwebkit-examples
|
||||
url = ../qtwebkit-examples.git
|
||||
branch = 5.5
|
||||
initrepo = true
|
||||
branch = 5.6
|
||||
[submodule "qtqa"]
|
||||
path = qtqa
|
||||
url = ../qtqa.git
|
||||
@@ -71,12 +69,12 @@
|
||||
[submodule "qtlocation"]
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtsensors"]
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtsystems"]
|
||||
path = qtsystems
|
||||
@@ -97,85 +95,102 @@
|
||||
[submodule "qtconnectivity"]
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtwayland"]
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qt3d"]
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtimageformats"]
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtquick1"]
|
||||
path = qtquick1
|
||||
url = ../qtquick1.git
|
||||
branch = 5.5
|
||||
initrepo = true
|
||||
branch = 5.6
|
||||
[submodule "qtgraphicaleffects"]
|
||||
path = qtgraphicaleffects
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtquickcontrols"]
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtserialbus"]
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 5.6
|
||||
[submodule "qtserialport"]
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtx11extras"]
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtmacextras"]
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtwinextras"]
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtandroidextras"]
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtenginio"]
|
||||
path = qtenginio
|
||||
url = ../qtenginio.git
|
||||
branch = 1.2
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtwebsockets"]
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtwebchannel"]
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtwebengine"]
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtcanvas3d"]
|
||||
path = qtcanvas3d
|
||||
url = ../qtcanvas3d.git
|
||||
branch = 5.5
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtwebview"]
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtquickcontrols2"]
|
||||
path = qtquickcontrols2
|
||||
url = ../qtquickcontrols2.git
|
||||
branch = 5.6
|
||||
initrepo = true
|
||||
[submodule "qtpurchasing"]
|
||||
path = qtpurchasing
|
||||
url = ../qtpurchasing.git
|
||||
branch = 5.6
|
||||
|
||||
27
README
27
README
@@ -39,11 +39,24 @@ HOW TO BUILD QT5
|
||||
The "bin" folder of the ICU installation should be appended to the PATH
|
||||
environment variable in order to for the DLLs to be found at run-time.
|
||||
|
||||
Licensing:
|
||||
----------
|
||||
|
||||
Opensource users:
|
||||
|
||||
<source_package> = qt-everywhere-opensource-src-<version>
|
||||
<license> = -opensource
|
||||
|
||||
Commercial users:
|
||||
|
||||
<source_package> = qt-everywhere-enterprise-src-<version>
|
||||
<license> = -commercial
|
||||
|
||||
Linux, Mac:
|
||||
-----------
|
||||
|
||||
cd <path>/qt-everywhere-opensource-src-<version>
|
||||
./configure -prefix $PWD/qtbase -opensource -nomake tests
|
||||
cd <path>/<source_package>
|
||||
./configure -prefix $PWD/qtbase <license> -nomake tests
|
||||
make -j 4
|
||||
|
||||
Windows:
|
||||
@@ -55,8 +68,8 @@ HOW TO BUILD QT5
|
||||
* Python version 2.7 or later [http://www.activestate.com/activepython/]
|
||||
* Ruby version 1.9.3 or later [http://rubyinstaller.org/]
|
||||
|
||||
cd <path>\qt-everywhere-opensource-src-<version>
|
||||
configure -prefix %CD%\qtbase -opensource -nomake tests
|
||||
cd <path>\<source_package>
|
||||
configure -prefix %CD%\qtbase <license> -nomake tests
|
||||
nmake // jom // mingw32-make
|
||||
|
||||
To accelerate the bootstrap of qmake with MSVC, it may be useful to pass
|
||||
@@ -81,13 +94,13 @@ HOW TO BUILD QT5
|
||||
Example for a release build:
|
||||
(adjust the `-jN' parameter as appropriate for your system)
|
||||
|
||||
./configure -prefix $PWD/qtbase -opensource
|
||||
./configure -prefix $PWD/qtbase <license>
|
||||
make -j4
|
||||
|
||||
Example for a developer build:
|
||||
(enables more autotests, builds debug version of libraries, ...)
|
||||
|
||||
./configure -developer-build -opensource
|
||||
./configure -developer-build <license>
|
||||
make -j4
|
||||
|
||||
See output of `./configure -help' for documentation on various options to
|
||||
@@ -100,7 +113,7 @@ HOW TO BUILD QT5
|
||||
a `make module-<foo>'. For example, to build only qtscript and qtwebkit,
|
||||
and the modules they depend on:
|
||||
|
||||
./configure -prefix $PWD/qtbase -opensource
|
||||
./configure -prefix $PWD/qtbase <license>
|
||||
make -j4 module-qtscript module-qtwebkit
|
||||
|
||||
This can save a lot of time if you are only interested in a subset of Qt5.
|
||||
|
||||
@@ -48,7 +48,8 @@ init-repository - initialize the Qt5 repository and all submodules
|
||||
./init-repository [options]
|
||||
|
||||
This script may be run after an initial `git clone' of Qt5 in order to check
|
||||
out all submodules.
|
||||
out all submodules. It fetches them from canonical URLs inferred from the
|
||||
clone's origin.
|
||||
|
||||
|
||||
=head1 OPTIONS
|
||||
@@ -79,12 +80,6 @@ B<Module options:>
|
||||
|
||||
=over
|
||||
|
||||
=item --no-webkit
|
||||
|
||||
Skip webkit and webkit examples submodules.
|
||||
It may be desirable to skip these modules due to the large size of the webkit
|
||||
git repository.
|
||||
|
||||
=item --module-subset=<module1>,<module2>...
|
||||
|
||||
Only initialize the specified subset of modules given as the argument. Specified
|
||||
@@ -239,7 +234,6 @@ sub parse_arguments
|
||||
'ignore-submodules' => 0 ,
|
||||
'mirror-url' => "",
|
||||
'update' => 1 ,
|
||||
'webkit' => 1 ,
|
||||
'module-subset' => "default",
|
||||
);
|
||||
|
||||
@@ -254,7 +248,6 @@ sub parse_arguments
|
||||
'mirror=s' => \$self->{qw{ mirror-url }},
|
||||
'quiet' => \$self->{qw{ quiet }},
|
||||
'update!' => \$self->{qw{ update }},
|
||||
'webkit!' => \$self->{qw{ webkit }},
|
||||
'module-subset=s' => \$self->{qw{ module-subset }},
|
||||
|
||||
'help|?' => sub { pod2usage(1); },
|
||||
@@ -271,9 +264,6 @@ sub parse_arguments
|
||||
$self->{'mirror-url'} =~ s{//+$}{/};
|
||||
|
||||
$self->{'module-subset'} = [ split(/,/, $self->{'module-subset'}) ];
|
||||
if (!$self->{webkit}) {
|
||||
push @{$self->{'module-subset'}}, "-qtwebkit", "-qtwebkit-examples";
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -334,7 +324,7 @@ sub git_clone_all_submodules
|
||||
while ($base =~ s,/(?!\.\./)[^/]+/\.\./,/,g) {}
|
||||
$subbases{$mod} = $base;
|
||||
} elsif ($2 eq "update") {
|
||||
push @subset, '-'.$1 if ($3 eq 'ignore');
|
||||
push @subset, '-'.$1 if ($3 eq 'none');
|
||||
} elsif ($2 eq "initrepo") {
|
||||
$subinits{$1} = ($3 eq "yes" or $3 eq "true");
|
||||
}
|
||||
|
||||
21
qt.pro
21
qt.pro
@@ -13,7 +13,14 @@ defineReplace(moduleName) {
|
||||
|
||||
# Arguments: module name, [mandatory deps], [optional deps], [project file]
|
||||
defineTest(addModule) {
|
||||
for(d, $$list($$2 $$3)): \
|
||||
!contains(MODULES, $$d): \
|
||||
error("'$$1' depends on not (yet) declared '$$d'.")
|
||||
MODULES += $$1
|
||||
export(MODULES)
|
||||
|
||||
contains(QT_SKIP_MODULES, $$1): return(false)
|
||||
!isEmpty(QT_BUILD_MODULES):!contains(QT_BUILD_MODULES, $$1): return(false)
|
||||
mod = $$moduleName($$1)
|
||||
|
||||
isEmpty(4) {
|
||||
@@ -64,32 +71,36 @@ addModule(qtx11extras, qtbase)
|
||||
addModule(qtsvg, qtbase)
|
||||
addModule(qtxmlpatterns, qtbase)
|
||||
addModule(qtdeclarative, qtbase, qtsvg qtxmlpatterns)
|
||||
addModule(qtgraphicaleffects, qtdeclarative)
|
||||
addModule(qtquickcontrols, qtdeclarative, qtgraphicaleffects)
|
||||
addModule(qtquickcontrols2, qtquickcontrols)
|
||||
addModule(qtmultimedia, qtbase, qtdeclarative)
|
||||
addModule(qtwinextras, qtbase, qtdeclarative qtmultimedia)
|
||||
addModule(qtactiveqt, qtbase)
|
||||
addModule(qtsystems, qtbase, qtdeclarative)
|
||||
addModule(qtlocation, qtbase, qtdeclarative qtquickcontrols qtsystems)
|
||||
addModule(qtsensors, qtbase, qtdeclarative)
|
||||
addModule(qtconnectivity, qtbase $$ANDROID_EXTRAS, qtdeclarative)
|
||||
addModule(qtfeedback, qtdeclarative, qtmultimedia)
|
||||
addModule(qtpim, qtdeclarative)
|
||||
addModule(qtwebsockets, qtbase, qtdeclarative)
|
||||
addModule(qtwebchannel, qtbase, qtdeclarative qtwebsockets)
|
||||
addModule(qtserialport, qtbase)
|
||||
addModule(qtlocation, qtbase, qtdeclarative qtquickcontrols qtserialport qtsystems)
|
||||
addModule(qtwebkit, qtbase, qtdeclarative qtlocation qtmultimedia qtsensors qtwebchannel qtxmlpatterns, WebKit.pro)
|
||||
addModule(qttools, qtbase, qtdeclarative qtactiveqt qtwebkit)
|
||||
addModule(qtwebkit-examples, qtwebkit qttools)
|
||||
addModule(qtimageformats, qtbase)
|
||||
addModule(qt3d, qtdeclarative qtimageformats)
|
||||
addModule(qtcanvas3d, qtdeclarative)
|
||||
addModule(qtgraphicaleffects, qtdeclarative)
|
||||
addModule(qtscript, qtbase, qttools)
|
||||
addModule(qtquick1, qtscript, qtsvg qtxmlpatterns qtwebkit)
|
||||
addModule(qtquick1, qtscript, qtsvg qtxmlpatterns)
|
||||
addModule(qtdocgallery, qtdeclarative)
|
||||
addModule(qtwayland, qtbase, qtdeclarative)
|
||||
addModule(qtserialport, qtbase)
|
||||
addModule(qtserialbus, qtserialport)
|
||||
addModule(qtenginio, qtdeclarative)
|
||||
addModule(qtwebengine, qtquickcontrols qtwebchannel, qtwebkit qtlocation)
|
||||
addModule(qtwebengine, qtquickcontrols qtwebchannel, qtlocation)
|
||||
addModule(qtwebview, qtdeclarative, qtwebengine)
|
||||
addModule(qtpurchasing, qtbase, qtdeclarative)
|
||||
addModule(qttranslations, qttools)
|
||||
addModule(qtdoc, qtdeclarative)
|
||||
addModule(qtqa, qtbase)
|
||||
|
||||
2
qt3d
2
qt3d
Submodule qt3d updated: 0bcb6600db...dc6e9d02ac
Submodule qtactiveqt updated: d906c70d1f...dd0feaa95a
Submodule qtandroidextras updated: 38b83c33f3...8e288bab37
2
qtbase
2
qtbase
Submodule qtbase updated: fbd0e4489c...adb914f4b9
Submodule qtcanvas3d updated: 8c6d82d4f6...bb1504c271
Submodule qtconnectivity updated: 2b2d30a31b...cd81e43c26
Submodule qtdeclarative updated: 1ea17d70dc...5f96bc0738
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 60964b2be9...91ca24d048
Submodule qtenginio updated: e32bcb7b71...d08c5e0f9a
Submodule qtgraphicaleffects updated: 9aa0edc6d1...3f24016938
Submodule qtimageformats updated: 5598cebd35...6730d70f00
Submodule qtlocation updated: d1c91515ef...d75c0469c0
Submodule qtmacextras updated: 872bbed0a7...d8ebb7eeea
Submodule qtmultimedia updated: edc415be47...82e135167a
2
qtpim
2
qtpim
Submodule qtpim updated: 18e3d741c3...fa74ad6eda
1
qtpurchasing
Submodule
1
qtpurchasing
Submodule
Submodule qtpurchasing added at 951d75d744
2
qtqa
2
qtqa
Submodule qtqa updated: 0e8bad86ad...0ff6cfc355
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: 9a3807656e...a669c33d9c
Submodule qtquickcontrols updated: f770dbe9d3...80cde7c7ca
1
qtquickcontrols2
Submodule
1
qtquickcontrols2
Submodule
Submodule qtquickcontrols2 added at d4df163af0
Submodule qtrepotools updated: 045b138f69...3564f7cbbf
2
qtscript
2
qtscript
Submodule qtscript updated: 50446e4edb...94307729ed
Submodule qtsensors updated: 330bd7142d...c398c3a93e
1
qtserialbus
Submodule
1
qtserialbus
Submodule
Submodule qtserialbus added at 1166152611
Submodule qtserialport updated: 381e11d264...bd3fb6cc34
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 23f263b6aa...84eae855ee
Submodule qtsystems updated: 44f70d99a2...37b614abbf
2
qttools
2
qttools
Submodule qttools updated: 3907230229...58d1304edb
Submodule qttranslations updated: 160672dab7...2d9a8c8389
Submodule qtwayland updated: 3dc9cfdbd2...f51de354b1
Submodule qtwebchannel updated: 6a7de61bc1...97577a0f27
Submodule qtwebengine updated: 3f9c620645...d239b60313
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 0d592678ba...62dd2add32
Submodule qtwebkit-examples updated: df729f9f28...7988aecdbc
Submodule qtwebsockets updated: a01c1455af...469f748515
1
qtwebview
Submodule
1
qtwebview
Submodule
Submodule qtwebview added at 7b6d9a4cba
Submodule qtwinextras updated: 8fe1236810...c49209f274
Submodule qtx11extras updated: e4f2f0a146...d64ee96f0d
Submodule qtxmlpatterns updated: eefb48c856...8ba610490e
Reference in New Issue
Block a user