mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-30 03:45:39 +08:00
Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46dddf87bc | ||
|
|
7df463631a | ||
|
|
d57ad7e737 | ||
|
|
7fc2031212 | ||
|
|
a3ee8d931b | ||
|
|
640e95a284 | ||
|
|
35bc8bf666 | ||
|
|
8f899fc8d6 | ||
|
|
79bc54cba4 | ||
|
|
35dcd712b4 | ||
|
|
390ed26579 | ||
|
|
cbeb5e362b | ||
|
|
c5571e6885 | ||
|
|
110bd15791 | ||
|
|
7e19966491 | ||
|
|
c993737748 | ||
|
|
f2c905c413 | ||
|
|
2a55470ef8 | ||
|
|
e29f1bb96b | ||
|
|
a80e52c26d | ||
|
|
31f01fa829 | ||
|
|
05a13593b8 | ||
|
|
54239ba0b2 | ||
|
|
6b6aef2a5f |
@@ -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
|
||||
|
||||
@@ -640,12 +640,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 or '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;
|
||||
|
||||
|
||||
Submodule qt5compat updated: 816d4e2437...739d144cba
2
qtbase
2
qtbase
Submodule qtbase updated: fada6a1cbd...723077eb35
Submodule qtdeclarative updated: d347cbfc8c...da46b97ed5
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 526be4eeed...5290cda943
2
qtqa
2
qtqa
Submodule qtqa updated: 8374a072b0...b0eee13d43
Submodule qtquick3d updated: a3dfb3ce0f...60a51c975c
Submodule qtquickcontrols2 updated: 66de1cfba6...7be5c50775
Submodule qtquicktimeline updated: 8225d41627...b3ff9f762e
Submodule qtrepotools updated: 7efc56e59d...a829867f08
Submodule qtshadertools updated: 954da6eb42...03ee874da2
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 1256449521...af7b4e8d7d
2
qttools
2
qttools
Submodule qttools updated: 0c1de95dbc...e9c0625d07
Submodule qttranslations updated: 1d41218824...50facb10cb
Submodule qtwayland updated: 76a89e522f...49276bc3bf
Reference in New Issue
Block a user