mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-27 02:15:59 +08:00
Compare commits
14 Commits
wip/instal
...
v5.9.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63bda0c988 | ||
|
|
ecc7d251fa | ||
|
|
08765d9258 | ||
|
|
f0dd13f05a | ||
|
|
f789a8004a | ||
|
|
a8bd91bc27 | ||
|
|
d0df4f2ce9 | ||
|
|
3653630d22 | ||
|
|
60fb3cb272 | ||
|
|
ada909932d | ||
|
|
537ea17d14 | ||
|
|
ee4b7e638b | ||
|
|
e70e81a4aa | ||
|
|
16249a5fce |
78
.gitmodules
vendored
78
.gitmodules
vendored
@@ -1,66 +1,66 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtsvg qtxmlpatterns
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtscript"]
|
||||
depends = qtbase
|
||||
recommends = qttools
|
||||
path = qtscript
|
||||
url = ../qtscript.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = deprecated
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = essential
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
path = qtxmlpatterns
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qttranslations"]
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
depends = qtdeclarative
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -81,14 +81,14 @@
|
||||
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -121,27 +121,27 @@
|
||||
recommends = qtdeclarative qtandroidextras
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtimageformats qtgamepad
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtquick1"]
|
||||
depends = qtscript
|
||||
@@ -154,51 +154,51 @@
|
||||
depends = qtdeclarative
|
||||
path = qtgraphicaleffects
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtquickcontrols"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtgraphicaleffects
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = essential
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtx11extras"]
|
||||
depends = qtbase
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtmacextras"]
|
||||
depends = qtbase
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtwinextras"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtandroidextras"]
|
||||
depends = qtbase
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtenginio"]
|
||||
depends = qtdeclarative
|
||||
@@ -211,101 +211,101 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtquickcontrols qtwebchannel
|
||||
recommends = qtlocation qttools
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
depends = qtdeclarative
|
||||
path = qtcanvas3d
|
||||
url = ../qtcanvas3d.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtwebview"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtquickcontrols2"]
|
||||
depends = qtgraphicaleffects
|
||||
path = qtquickcontrols2
|
||||
url = ../qtquickcontrols2.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtpurchasing"]
|
||||
depends = qtbase qtandroidextras
|
||||
recommends = qtdeclarative
|
||||
path = qtpurchasing
|
||||
url = ../qtpurchasing.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia qtquickcontrols
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgamepad
|
||||
url = ../qtgamepad.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtscxml"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = preview
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
recommends = qtwebview
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = preview
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = 5.9
|
||||
branch = 5.9.3
|
||||
status = preview
|
||||
|
||||
@@ -40,6 +40,9 @@ $zip = "c:\users\qt\downloads\cmake-" + $version + "-win32-x86.zip"
|
||||
$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $version + "-win32-x86.zip"
|
||||
$cachedurl = "\\ci-files01-hki.intra.qt.io\provisioning\cmake\cmake-" + $version + "-win32-x86.zip"
|
||||
|
||||
echo "Removing old cmake"
|
||||
Remove-Item "C:\CMake" -Force -Recurse -ErrorAction SilentlyContinue
|
||||
|
||||
Download $officialurl $cachedurl $zip
|
||||
Verify-Checksum $zip "541F6E7EFD228E46770B8631FFE57097576E4D4E"
|
||||
|
||||
|
||||
2
coin/provisioning/common/disable-ntp.ps1
Normal file
2
coin/provisioning/common/disable-ntp.ps1
Normal file
@@ -0,0 +1,2 @@
|
||||
# Disable the NTP from syncing
|
||||
w32tm /config /syncfromflags:NO
|
||||
47
coin/provisioning/common/install-java.ps1 → coin/provisioning/qtci-linux-RHEL-7.4-x86_64/08-pythondev.sh
Normal file → Executable file
47
coin/provisioning/common/install-java.ps1 → coin/provisioning/qtci-linux-RHEL-7.4-x86_64/08-pythondev.sh
Normal file → Executable file
@@ -1,4 +1,6 @@
|
||||
############################################################################
|
||||
#!/bin/bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
@@ -31,32 +33,31 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||
source "${BASH_SOURCE%/*}/../common/DownloadURL.sh"
|
||||
|
||||
# This script will install Java RE
|
||||
# Official Java RE 7 downloads require Oracle accounts. Using local mirrors only.
|
||||
set -ex
|
||||
|
||||
$installdir = "C:\Program Files\Java\jre7"
|
||||
packageEpel="epel-release-latest-7.noarch.rpm"
|
||||
OfficialUrl="https://dl.fedoraproject.org/pub/epel/$packageEpel"
|
||||
CachedUrl="http://ci-files01-hki.intra.qt.io/input/redhat/$packageEpel"
|
||||
SHA1="5512b80e5b71f2370d8419fa16a0bc14c5edf854"
|
||||
|
||||
$version = "7u7"
|
||||
if( (is64bitWinHost) -eq 1 ) {
|
||||
$arch = "x64"
|
||||
$sha1 = "9af03460c416931bdee18c2dcebff5db50cb8cb3"
|
||||
}
|
||||
else {
|
||||
$arch = "i586"
|
||||
$sha1 = "f76b1be20b144b1ee1d1de3255edb0a6b57d0219"
|
||||
}
|
||||
DownloadURL $OfficialUrl $CachedUrl $SHA1 ./$packageEpel
|
||||
sudo rpm -Uvh $packageEpel
|
||||
sudo rm -f $packageEpel
|
||||
|
||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\jre-" + $version + "-windows-" + $arch + ".exe"
|
||||
$javaPackage = "C:\Windows\Temp\java-$version.exe"
|
||||
# install python3
|
||||
sudo yum install -y python34-devel
|
||||
|
||||
Copy-Item $url_cache $javaPackage
|
||||
cmd /c "$javaPackage /s SPONSORS=0"
|
||||
echo "Cleaning $javaPackage.."
|
||||
Remove-Item -Recurse -Force "$javaPackage"
|
||||
# install pip3
|
||||
|
||||
[Environment]::SetEnvironmentVariable("JAVA_HOME", "$installdir", [EnvironmentVariableTarget]::Machine)
|
||||
Add-Path "$installdir\bin"
|
||||
packagePip="get-pip.py"
|
||||
OfficialUrlPip="https://bootstrap.pypa.io/$packagePip"
|
||||
CachedUrlPip="http://ci-files01-hki.intra.qt.io/input/redhat/$packagePip"
|
||||
SHA1Pip="3d45cef22b043b2b333baa63abaa99544e9c031d"
|
||||
|
||||
DownloadURL $OfficialUrlPip $CachedUrlPip $SHA1Pip ./$packagePip
|
||||
sudo python3 $packagePip
|
||||
sudo rm -f $packagePip
|
||||
sudo pip3 install virtualenv
|
||||
|
||||
echo "Java = $version $arch" >> ~\versions.txt
|
||||
@@ -50,40 +50,40 @@ try
|
||||
echo "Installing packages"
|
||||
# Git is not needed by builds themselves, but is nice to have
|
||||
# immediately as one starts debugging
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install git || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install git || throw $ExceptionAPT
|
||||
# 7zip is a needed decompressing tool
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install p7zip || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install p7zip || throw $ExceptionAPT
|
||||
# libssl-dev provides headers for OpenSSL
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libssl-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libssl-dev || throw $ExceptionAPT
|
||||
# Needed libraries for X11 support accordingly to https://wiki.qt.io/Building_Qt_5_from_Git
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev || throw $ExceptionAPT
|
||||
# Enable linking to system dbus
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libdbus-1-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libdbus-1-dev || throw $ExceptionAPT
|
||||
# Needed libraries for WebEngine
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libudev-dev libegl1-mesa-dev libfontconfig1-dev libxss-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libudev-dev libegl1-mesa-dev libfontconfig1-dev libxss-dev || throw $ExceptionAPT
|
||||
# Common event loop handling
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libglib2.0-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libglib2.0-dev || throw $ExceptionAPT
|
||||
# MySQL support
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libmysqlclient-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libmysqlclient-dev || throw $ExceptionAPT
|
||||
# PostgreSQL support
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libpq-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libpq-dev || throw $ExceptionAPT
|
||||
# SQLite support
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libsqlite3-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libsqlite3-dev || throw $ExceptionAPT
|
||||
# ODBC support
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install unixodbc-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install unixodbc-dev || throw $ExceptionAPT
|
||||
# Support for FreeType font engine
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libfreetype6-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libfreetype6-dev || throw $ExceptionAPT
|
||||
# Enable the usage of system jpeg libraries
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libjpeg-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libjpeg-dev || throw $ExceptionAPT
|
||||
# Enable support for printer driver
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libcups2-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libcups2-dev || throw $ExceptionAPT
|
||||
# Install libraries needed for QtMultimedia to be able to support all plugins
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libasound2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev || throw $ExceptionAPT
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libasound2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev || throw $ExceptionAPT
|
||||
# Support for cross-building to x86 (needed by WebEngine boot2qt builds)
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install g++-multilib || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install g++-multilib || throw $ExceptionAPT
|
||||
# python3 development package
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install python3-dev python3-pip python3-virtualenv || throw $ExceptionAPT
|
||||
yes | sudo aptdcon --hide-terminal --install python3-dev python3-pip python3-virtualenv || throw $ExceptionAPT
|
||||
)
|
||||
catch || {
|
||||
case $ex_code in
|
||||
@@ -101,4 +101,3 @@ catch || {
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
138
coin/provisioning/qtci-macos-10.12-x86_64/555-signtools.sh
Executable file
138
coin/provisioning/qtci-macos-10.12-x86_64/555-signtools.sh
Executable file
@@ -0,0 +1,138 @@
|
||||
#!/bin/sh
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Install tools for singing packages
|
||||
# This script assume that OS is vanilla. Target machine dosen't have any signing certificates installed.
|
||||
|
||||
set -ex
|
||||
|
||||
cache="http://ci-files01-hki.intra.qt.io/input"
|
||||
cacheSigningTools="$cache/mac/sign_tools"
|
||||
targetFolder="/Users/qt"
|
||||
keychains="$targetFolder/Library/Keychains"
|
||||
|
||||
Install() {
|
||||
|
||||
url=$1
|
||||
targetFile=$2
|
||||
expectedSha1=$3
|
||||
|
||||
echo "Fetching $targetFile from $url..."
|
||||
curl --retry 5 --retry-delay 10 --retry-max-time 60 "$url" -o "$targetFile"
|
||||
shasum "$targetFile" |grep "$expectedSha1"
|
||||
|
||||
}
|
||||
|
||||
# qt-license
|
||||
sha1QtLicense="9d59241d16f68d914f1c7aa1dc23e05faa169e8d"
|
||||
Install "$cache/semisecure/.qt-license" "$targetFolder/.qt-license" $sha1QtLicense
|
||||
|
||||
# Login keychain
|
||||
sha1LoginKeychainPassword="aae58d00d0a1b179a09f21cfc67f9d16fb95ff36"
|
||||
Install "$cacheSigningTools/login_keychain_password.txt" "$targetFolder/login_keychain_password.txt" "$sha1LoginKeychainPassword"
|
||||
loginKeychainPassword=$(<"$targetFolder/login_keychain_password.txt")
|
||||
loginKeychain=$keychains/login.keychain
|
||||
|
||||
echo "Setting login.keychain as default keychain.."
|
||||
security default-keychain -s $loginKeychain*
|
||||
echo "Unlocking Login keychain with password.."
|
||||
security unlock-keychain -p "$loginKeychainPassword" $loginKeychain*
|
||||
|
||||
echo "remove the "Lock after X minutes of inactivity" from login.keychain"
|
||||
security set-keychain-settings $loginKeychain
|
||||
|
||||
# Apple Worldwide Developer Relations Certification Authority -> https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
|
||||
sha1AppleWWDRCA="ff6797793a3cd798dc5b2abef56f73edc9f83a64"
|
||||
Install "$cacheSigningTools/AppleWWDRCA.cer" "$targetFolder/AppleWWDRCA.cer" $sha1AppleWWDRCA
|
||||
sudo security add-certificates -k $loginKeychain* "$targetFolder/AppleWWDRCA.cer"
|
||||
|
||||
# Developer ID Certification Authority -> https://www.apple.com/certificateauthority/DeveloperIDCA.cer
|
||||
sha1DeveloperIDCA="3b166c3b7dc4b751c9fe2afab9135641e388e186"
|
||||
Install "$cacheSigningTools/DeveloperIDCA.cer" "$targetFolder/DeveloperIDCA.cer" $sha1DeveloperIDCA
|
||||
sudo security add-certificates -k $loginKeychain* "$targetFolder/DeveloperIDCA.cer"
|
||||
|
||||
# Create script to unlock keychain 'security unlock-keychain -p 'password' Developer_ID_TheQtCompany.keychain'
|
||||
sha1UnLockKeychain="4398870e3f558ad28c80566b5f70e24dc29ea724"
|
||||
unlockKeychain=$targetFolder/unlock-keychain.sh
|
||||
Install "$cacheSigningTools/unlock-keychain.sh" "$unlockKeychain" $sha1UnLockKeychain
|
||||
sudo chmod 755 "$unlockKeychain"
|
||||
|
||||
# Codesigning requirements file. The bundle identifier in the requirements file should match the identifier of the application that is signed.
|
||||
shaCsreq="2c3f00b1845a0f475673fd6934ba25ea51d1f910"
|
||||
csreq=$targetFolder/csreq_qt_company.txt
|
||||
Install "$cacheSigningTools/csreq_qt_company.txt" "$csreq" $shaCsreq
|
||||
chmod 755 "$csreq"
|
||||
|
||||
# iOS signing tools
|
||||
devIDKeychain="Developer_ID_TheQtCompany.keychain"
|
||||
shaDevIdKeychain="0420a129c17725a97afd6fdafeb9cddfb80a65ca"
|
||||
Install "$cacheSigningTools/$devIDKeychain" "$keychains/$devIDKeychain" $shaDevIdKeychain
|
||||
echo "Opening $devIDKeychain.."
|
||||
open "$keychains/$devIDKeychain"
|
||||
|
||||
sha1DeveloperIDTheQtCompanyKeychainPassword="d758e067736bbda7a91ffaec66cd38afdaf68ea6"
|
||||
Install "$cacheSigningTools/Developer_ID_TheQtCompany_keychain_password.txt" "$targetFolder/Developer_ID_TheQtCompany_keychain_password.txt" "$sha1DeveloperIDTheQtCompanyKeychainPassword"
|
||||
DeveloperIDTheQtCompanyKeychainPassword=$(<"$targetFolder/Developer_ID_TheQtCompany_keychain_password.txt")
|
||||
|
||||
echo "Unlocking $devIDKeychain with password.."
|
||||
security unlock-keychain -p "$DeveloperIDTheQtCompanyKeychainPassword" $keychains/Developer_ID_TheQtCompany.keychain
|
||||
security set-keychain-settings $keychains/Developer_ID_TheQtCompany.keychain
|
||||
|
||||
sha1Ios="aae58d00d0a1b179a09f21cfc67f9d16fb95ff36"
|
||||
Install "$cacheSigningTools/ios_password.txt" "$targetFolder/ios_password.txt" $sha1Ios
|
||||
iosPassword=$(<"$targetFolder/ios_password.txt")
|
||||
|
||||
iPhoneDeveloper="iosdevelopment.p12"
|
||||
shaIPhoneDeveloper="f48f6827e8d0ccdc764cb987e401b9a6f7d3f10c"
|
||||
Install "$cacheSigningTools/latest_ios_cert/$iPhoneDeveloper" "$targetFolder/$iPhoneDeveloper" $shaIPhoneDeveloper
|
||||
echo "Importing $iPhoneDeveloper.."
|
||||
security import $targetFolder/$iPhoneDeveloper -k $loginKeychain* -P $iosPassword -T /usr/bin/codesign
|
||||
|
||||
iPhoneDistribution="iosdistribution.p12"
|
||||
shaIPhoneDistribution="64b1174fc3ce0eca044fbc9fa144f6a2d4330171"
|
||||
Install "$cacheSigningTools/latest_ios_cert/$iPhoneDistribution" "$targetFolder/$iPhoneDistribution" $shaIPhoneDistribution
|
||||
echo "Importing $iPhoneDistribution.."
|
||||
security import "$targetFolder/$iPhoneDistribution" -k $loginKeychain* -P $iosPassword -T /usr/bin/codesign
|
||||
|
||||
# Mobileprovision
|
||||
echo "Creating directory $targetFolder/Library/MobileDevice/Provisioning Profiles.."
|
||||
mkdir "$targetFolder/Library/MobileDevice"
|
||||
mkdir "$targetFolder/Library/MobileDevice/Provisioning Profiles"
|
||||
shaMobileprovision="88c67c95a6f59e6463a00da0b5021f581db624bf"
|
||||
Install "$cacheSigningTools/latest_ios_cert/iOS_Dev08112017.mobileprovision" "$targetFolder/Library/MobileDevice/Provisioning Profiles/iOS_Dev08112017.mobileprovision" $shaMobileprovision
|
||||
|
||||
# Removing password files
|
||||
rm -fr "$targetFolder/login_keychain_password.txt"
|
||||
|
||||
1
coin/provisioning/qtci-windows-10-x86/02-disable-ntp.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86/02-disable-ntp.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\disable-ntp.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\disable-ntp.ps1"
|
||||
@@ -1 +0,0 @@
|
||||
. "$PSScriptRoot\..\common\install-java.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\install-jdk.ps1"
|
||||
1
coin/provisioning/qtci-windows-7-x86/02-disable-ntp.ps1
Normal file
1
coin/provisioning/qtci-windows-7-x86/02-disable-ntp.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\disable-ntp.ps1"
|
||||
1
coin/provisioning/qtci-windows-8-x86/02-disable-ntp.ps1
Normal file
1
coin/provisioning/qtci-windows-8-x86/02-disable-ntp.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\disable-ntp.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\disable-ntp.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\disable-ntp.ps1"
|
||||
@@ -1 +0,0 @@
|
||||
. "$PSScriptRoot\..\common\install-java.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\install-jdk.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\disable-ntp.ps1"
|
||||
@@ -1 +0,0 @@
|
||||
. "$PSScriptRoot\..\common\install-java.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\install-jdk.ps1"
|
||||
2
qt3d
2
qt3d
Submodule qt3d updated: 252d2e5f2a...6399bcf7a9
Submodule qtactiveqt updated: cacf666f95...b77dbef218
Submodule qtandroidextras updated: 92e56ec250...e39ae42653
2
qtbase
2
qtbase
Submodule qtbase updated: 31cc29e9be...4d8ae444c2
Submodule qtcanvas3d updated: 2dd53f17ff...3ec47336f1
2
qtcharts
2
qtcharts
Submodule qtcharts updated: ab6f94d6fb...def384b950
Submodule qtconnectivity updated: ca6b84af16...475d1bad05
Submodule qtdatavis3d updated: 32fc1c7d36...b943457790
Submodule qtdeclarative updated: 54f15f5df5...0877858641
2
qtdoc
2
qtdoc
Submodule qtdoc updated: e4ccd4a7a2...5fe2e2c4f3
Submodule qtgamepad updated: 0e2408a272...2ed733d1cb
Submodule qtgraphicaleffects updated: 7ab12ad148...cb007fee65
Submodule qtimageformats updated: feca51d8c7...18f057c28a
Submodule qtlocation updated: af2ea98b9a...64e8ed5fa2
Submodule qtmacextras updated: 25127376ff...3e3e76d536
Submodule qtmultimedia updated: c3c6b7d098...f771b34d7e
Submodule qtpurchasing updated: 34ab68cee4...db01129bf0
2
qtqa
2
qtqa
Submodule qtqa updated: 5069186722...baa79eab77
Submodule qtquickcontrols updated: 296810ea4b...118c63b8b5
Submodule qtquickcontrols2 updated: f46776cc68...2eb1d259c6
Submodule qtrepotools updated: ad7346df2e...bcb02535bc
2
qtscxml
2
qtscxml
Submodule qtscxml updated: 113b502b19...04a0d00d41
Submodule qtsensors updated: a8f64f49dd...5a76227267
Submodule qtserialbus updated: be9168aeba...43845adcb4
Submodule qtserialport updated: dd9fdb2ba4...f0d63a2f88
2
qttools
2
qttools
Submodule qttools updated: 9df1403392...87a5498532
Submodule qtvirtualkeyboard updated: 19cae9ddec...e0d5dbf0b8
Submodule qtwayland updated: bfd08f5ebd...916f9f843f
Submodule qtwebchannel updated: 8704417403...10a2704788
Submodule qtwebengine updated: e9309d91ac...bc6915f0ae
Submodule qtwebsockets updated: 203da360c4...67f6e5e282
Submodule qtwebview updated: 71932e381e...abc6a559f2
Submodule qtwinextras updated: ea7de894f7...cbf856f701
Submodule qtx11extras updated: f21ef0cd01...2ee45df917
Submodule qtxmlpatterns updated: b257f03235...fedfe78518
Reference in New Issue
Block a user