mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-07 23:46:51 +08:00
Compare commits
55 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b021c416b5 | ||
|
|
55273d6cc0 | ||
|
|
7aa86c0924 | ||
|
|
ea624475d7 | ||
|
|
64f08a4607 | ||
|
|
e3ef111eae | ||
|
|
f97f0edc10 | ||
|
|
9d021a4170 | ||
|
|
e62979050c | ||
|
|
282de9a961 | ||
|
|
987453db68 | ||
|
|
04ff839c76 | ||
|
|
3bc11ef32e | ||
|
|
a44a53aba2 | ||
|
|
6797c35157 | ||
|
|
9abdbccaf1 | ||
|
|
e29bd4cb85 | ||
|
|
38746546d8 | ||
|
|
dafc99a0d7 | ||
|
|
b40dbab18a | ||
|
|
6e20e9c2b7 | ||
|
|
b02360baa5 | ||
|
|
42fdb9aa58 | ||
|
|
b7f2961bb3 | ||
|
|
872dedd971 | ||
|
|
2caf6349be | ||
|
|
2af56dd556 | ||
|
|
17abff55d5 | ||
|
|
e9ecfdb335 | ||
|
|
26bffd2fab | ||
|
|
2dcb3fea14 | ||
|
|
46dddf87bc | ||
|
|
7df463631a | ||
|
|
d57ad7e737 | ||
|
|
7fc2031212 | ||
|
|
a3ee8d931b | ||
|
|
640e95a284 | ||
|
|
35bc8bf666 | ||
|
|
8f899fc8d6 | ||
|
|
79bc54cba4 | ||
|
|
35dcd712b4 | ||
|
|
390ed26579 | ||
|
|
cbeb5e362b | ||
|
|
c5571e6885 | ||
|
|
110bd15791 | ||
|
|
7e19966491 | ||
|
|
c993737748 | ||
|
|
f2c905c413 | ||
|
|
2a55470ef8 | ||
|
|
e29f1bb96b | ||
|
|
a80e52c26d | ||
|
|
31f01fa829 | ||
|
|
05a13593b8 | ||
|
|
54239ba0b2 | ||
|
|
6b6aef2a5f |
30
.gitmodules
vendored
30
.gitmodules
vendored
@@ -124,14 +124,14 @@
|
||||
recommends = qtdeclarative qtshadertools
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
branch = 6.0
|
||||
status = additionalLibrary
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
branch = 6.0
|
||||
status = additionalLibrary
|
||||
[submodule "qtgraphicaleffects"]
|
||||
depends = qtdeclarative
|
||||
path = qtgraphicaleffects
|
||||
@@ -277,8 +277,8 @@
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
branch = 6.0
|
||||
status = additionalLibrary
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
@@ -323,3 +323,21 @@
|
||||
url = ../qt5compat.git
|
||||
branch = 6.0
|
||||
status = deprecated
|
||||
[submodule "qtcoap"]
|
||||
depends = qtbase qttools
|
||||
path = qtcoap
|
||||
url = ../qtcoap.git
|
||||
branch = 6.0
|
||||
status = additionalLibrary
|
||||
[submodule "qtmqtt"]
|
||||
depends = qtbase qtdeclarative qttools
|
||||
path = qtmqtt
|
||||
url = ../qtmqtt.git
|
||||
branch = 6.0
|
||||
status = additionalLibrary
|
||||
[submodule "qtopcua"]
|
||||
depends = qtbase qtdeclarative qtquickcontrols2 qttools
|
||||
path = qtopcua
|
||||
url = ../qtopcua.git
|
||||
branch = 6.0
|
||||
status = additionalLibrary
|
||||
|
||||
@@ -101,7 +101,7 @@ Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['InsignificantTests', 'Sccache', "DebugAndRelease"]
|
||||
Features: ['Sccache', "DebugAndRelease"]
|
||||
Configure arguments: '-G"Ninja Multi-Config" -DQT_BUILD_EXAMPLES=ON -DFEATURE_developer_build=ON -DCMAKE_CONFIGURATION_TYPES="RelWithDebInfo;Debug" -DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
|
||||
@@ -53,14 +53,6 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -no-icu -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -static -xplatform macx-ios-clang'
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r21d -android-ndk-host darwin-x86_64'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QEMU'
|
||||
@@ -91,15 +83,6 @@ Configurations:
|
||||
Environment variables: ['PATH=C:\MINGW810\mingw64\bin;$PATH']
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -separate-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++ QMAKE_LFLAGS_APP+=-s -qt-zlib'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810\mingw64\bin;$PATH']
|
||||
Target compiler: 'Clang'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r21d'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
|
||||
@@ -41,19 +41,20 @@ set -ex
|
||||
# This script will fetch and extract pre-buildt squish package for Linux and Mac.
|
||||
# Squish is need by Release Test Automation (RTA)
|
||||
|
||||
version="6.6.1"
|
||||
qtBranch="515x"
|
||||
version="6.7-20210119-1632"
|
||||
qtBranch="60x"
|
||||
installFolder="/opt"
|
||||
squishFolder="$installFolder/squish"
|
||||
preBuildCacheUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/jenkins_build/stable"
|
||||
licenseUrl="http://ci-files01-hki.intra.qt.io/input/squish/coin/$qtBranch/.squish-3-license"
|
||||
licenseUrl="http://ci-files01-hki.intra.qt.io/input/squish/coin/515x/.squish-3-license"
|
||||
licenseSHA="e000d2f95b30b82f405b9dcbeb233cd43710a41a"
|
||||
if uname -a |grep -q Darwin; then
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-macx86_64.tar.gz"
|
||||
version="6.6.1"
|
||||
compressedFolder="prebuild-squish-$version-515x-macx86_64.tar.gz"
|
||||
sha1="9fff9a7cb037214d21f47f2cc53747885fd1f2ae"
|
||||
else
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-linux64.tar.gz"
|
||||
sha1="3a50052caafa3ca583b7edf754227999d7185ffa"
|
||||
sha1="8780665c3560456cd86980802cb24513233444fe"
|
||||
fi
|
||||
|
||||
mountFolder="/tmp/squish"
|
||||
@@ -96,7 +97,8 @@ sudo mv "$installFolder/rta_squish_$version" "$squishFolder"
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
if [ ! -e "/usr/lib/tcl8.6" ]; then
|
||||
sudo mkdir /usr/lib/tcl8.6
|
||||
sudo cp "$squishFolder/squish_for_qt/tcl/lib/tcl8.6/init.tcl" /usr/lib/tcl8.6/
|
||||
#this needs to be copied only to squish_for_qt6
|
||||
sudo cp "$squishFolder/squish_for_qt6/tcl/lib/tcl8.6/init.tcl" /usr/lib/tcl8.6/
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -108,18 +110,34 @@ sudo chown qt:$usersGroup "$HOME/.squish-3-license"
|
||||
|
||||
echo "Set commands for environment variables in .bashrc"
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
echo "export SQUISH_PATH=$squishFolder/squish_for_qt" >> ~/.profile
|
||||
echo "export PATH=\$PATH:$squishFolder/squish_for_qt/bin" >> ~/.profile
|
||||
echo "export SQUISH_PATH=$squishFolder/squish_for_qt6" >> ~/.profile
|
||||
echo "export PATH=\$PATH:$squishFolder/squish_for_qt6/bin" >> ~/.profile
|
||||
else
|
||||
echo "export SQUISH_PATH=$squishFolder/squish_for_qt" >> ~/.bashrc
|
||||
echo "export PATH=\$PATH:$squishFolder/squish_for_qt/bin" >> ~/.bashrc
|
||||
fi
|
||||
|
||||
echo "Verifying Squish"
|
||||
if "$squishFolder/squish_for_qt/bin/squishrunner" --testsuite "$squishFolder/suite_test_squish" | grep "Squish test run successfully" ; then
|
||||
echo "Squish for Qt installation tested successfully"
|
||||
echo "Verifying Squish, available installations:"
|
||||
ls -la $squishFolder
|
||||
if uname -a |grep -q Darwin; then
|
||||
if "$squishFolder/squish_for_qt/bin/squishrunner" --testsuite "$squishFolder/suite_test_squish" | grep "Squish test run successfully" ; then
|
||||
echo "Squish for Qt installation tested successfully"
|
||||
else
|
||||
echo "Squish for Qt test failed! Package wasn't installed correctly."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "Squish for Qt test failed! Package wasn't installed correctly."
|
||||
exit 1
|
||||
if "$squishFolder/squish_for_qt5/bin/squishrunner" --testsuite "$squishFolder/suite_test_squish" | grep "Squish test run successfully" ; then
|
||||
echo "Squish for Qt5 installation tested successfully"
|
||||
else
|
||||
echo "Squish for Qt5 test failed! Package wasn't installed correctly."
|
||||
exit 1
|
||||
fi
|
||||
if "$squishFolder/squish_for_qt6/bin/squishrunner" --testsuite "$squishFolder/suite_test_squish" | grep "Squish test run successfully" ; then
|
||||
echo "Squish for Qt6 installation tested successfully"
|
||||
else
|
||||
echo "Squish for Qt6 test failed! Package wasn't installed correctly."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -36,12 +36,12 @@
|
||||
# This script will pre-installed squish package for Windows.
|
||||
# Squish is need by Release Test Automation (RTA)
|
||||
|
||||
$version = "6.6.1"
|
||||
$qtBranch = "515x"
|
||||
$version = "6.7-20210112-1612"
|
||||
$qtBranch = "60x"
|
||||
$targetDir = "C:\Utils\squish"
|
||||
$squishPackage = "C:\Utils\rta_squish"
|
||||
$squishUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\jenkins_build\stable"
|
||||
$licenseUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\coin"
|
||||
$licenseUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\coin\515x"
|
||||
|
||||
# Squish license
|
||||
$licensePackage = ".squish-3-license"
|
||||
@@ -60,7 +60,7 @@ $OSVersion = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\Curren
|
||||
if ($OSVersion -eq "Windows 10 Enterprise") {
|
||||
$winVersion = "win10"
|
||||
if (Is64BitWinHost) {
|
||||
$sha1 = "17b5bec83f448877e42e5effdc7daf723d157800"
|
||||
$sha1 = "628bb65cf515d08df388b0dc4d5b403e4c6657b2"
|
||||
} else {
|
||||
$sha1 = "9c0fc186605522ac0ac11066c10c3f3e8a95a705"
|
||||
#Remove special handling when all packages are in same dir, exception now for win10 x86->the archive had to be rebuild
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2020 The Qt Company Ltd.
|
||||
## Copyright (C) 2021 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -104,3 +104,5 @@ sudo rm -f "$targetFile"
|
||||
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master
|
||||
sudo automount -cv
|
||||
|
||||
# Disable multicast advertisements
|
||||
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
. "$PSScriptRoot\..\common\windows\squishInstall.ps1"
|
||||
@@ -72,11 +72,14 @@ Options:
|
||||
Only initialize the specified subset of modules given as the
|
||||
argument. Specified modules must already exist in .gitmodules. The
|
||||
string "all" results in cloning all known modules. The strings
|
||||
"essential", "addon", "preview", "deprecated", "obsolete", and
|
||||
"ignore" refer to classes of modules; "default" maps to
|
||||
"essential,addon,preview,deprecated", which corresponds with the
|
||||
set of maintained modules and is also the default set. Module
|
||||
names may be prefixed with a dash to exclude them from a bigger
|
||||
"essential", "addon", "preview", "deprecated", "obsolete",
|
||||
"additionalLibrary", and "ignore" refer to classes of modules
|
||||
identified by "status=" lines in the .gitmodules file.
|
||||
You can use "default" in the subset as a short-hand for
|
||||
"essential,addon,preview,deprecated", which corresponds to the set of
|
||||
maintained modules included in standard Qt releases; this is also the
|
||||
default module subset when this option is not given. Entries
|
||||
may be prefixed with a dash to exclude them from a bigger
|
||||
set, e.g. "all,-ignore".
|
||||
|
||||
--no-update
|
||||
@@ -294,7 +297,8 @@ use constant {
|
||||
STS_ESSENTIAL => 2,
|
||||
STS_ADDON => 3,
|
||||
STS_DEPRECATED => 4,
|
||||
STS_OBSOLETE => 5
|
||||
STS_OBSOLETE => 5,
|
||||
STS_ADDITIONAL => 6
|
||||
};
|
||||
|
||||
sub git_clone_all_submodules
|
||||
@@ -332,6 +336,8 @@ sub git_clone_all_submodules
|
||||
$subinits{$1} = STS_DEPRECATED;
|
||||
} elsif ($3 eq "obsolete") {
|
||||
$subinits{$1} = STS_OBSOLETE;
|
||||
} elsif ($3 eq "additionalLibrary") {
|
||||
$subinits{$1} = STS_ADDITIONAL;
|
||||
} elsif ($3 eq "ignore") {
|
||||
delete $subinits{$1};
|
||||
} else {
|
||||
@@ -351,6 +357,8 @@ sub git_clone_all_submodules
|
||||
@what = grep { ($subinits{$_} || 0) eq STS_ESSENTIAL } keys %subbases;
|
||||
} elsif ($mod eq "addon") {
|
||||
@what = grep { ($subinits{$_} || 0) eq STS_ADDON } keys %subbases;
|
||||
} elsif ($mod eq "additionalLibrary") {
|
||||
@what = grep { ($subinits{$_} || 0) eq STS_ADDITIONAL } keys %subbases;
|
||||
} elsif ($mod eq "preview") {
|
||||
@what = grep { ($subinits{$_} || 0) eq STS_PREVIEW } keys %subbases;
|
||||
} elsif ($mod eq "deprecated") {
|
||||
@@ -640,12 +648,13 @@ sub run
|
||||
chomp(my $url = `git config remote.origin.url`);
|
||||
die("Have no origin remote.\n") if (!$url);
|
||||
$url =~ s,\.git$,,;
|
||||
$url =~ s/qt5$//;
|
||||
$url =~ s/((?:tqtc-)?qt5)$//;
|
||||
my $qtrepo = $1 || 'qt5';
|
||||
$self->{'base-url'} = $url;
|
||||
|
||||
$self->git_clone_all_submodules('qt5', $self->{branch}, $self->{alternates}, @{$self->{'module-subset'}});
|
||||
$self->git_clone_all_submodules($qtrepo, $self->{branch}, $self->{alternates}, @{$self->{'module-subset'}});
|
||||
|
||||
$self->git_add_remotes('qt5');
|
||||
$self->git_add_remotes($qtrepo);
|
||||
|
||||
$self->git_install_hooks;
|
||||
|
||||
|
||||
2
qt3d
2
qt3d
Submodule qt3d updated: dd698034fd...729697ebe2
Submodule qt5compat updated: 816d4e2437...130c9cb7eb
2
qtbase
2
qtbase
Submodule qtbase updated: fada6a1cbd...0ff1dc7110
1
qtcoap
Submodule
1
qtcoap
Submodule
Submodule qtcoap added at 618c330f08
Submodule qtdeclarative updated: d347cbfc8c...373897b4bb
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 526be4eeed...4ae0238397
Submodule qtimageformats updated: 7cb70c7990...71d9b6b885
1
qtmqtt
Submodule
1
qtmqtt
Submodule
Submodule qtmqtt added at 150e35d480
Submodule qtnetworkauth updated: e151a7afc6...1b24f8f472
1
qtopcua
Submodule
1
qtopcua
Submodule
Submodule qtopcua added at 2131f67494
2
qtqa
2
qtqa
Submodule qtqa updated: 8374a072b0...a054f63dcf
Submodule qtquick3d updated: a3dfb3ce0f...025a872585
Submodule qtquickcontrols2 updated: 66de1cfba6...65d225661b
Submodule qtquicktimeline updated: 8225d41627...a2f76822e9
Submodule qtrepotools updated: 7efc56e59d...e97f6a4d5a
Submodule qtshadertools updated: 954da6eb42...f13989c1b2
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 1256449521...db10071991
2
qttools
2
qttools
Submodule qttools updated: 0c1de95dbc...792adc3dd0
Submodule qttranslations updated: 1d41218824...125adc55b4
Submodule qtwayland updated: 76a89e522f...49f7b8ef35
Reference in New Issue
Block a user