aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-03-28 10:20:15 +0200
committerLiang Qi <liang.qi@qt.io>2017-03-28 10:20:15 +0200
commit37e3da674c3b2deae8eb4be923d3ad46842fd4ca (patch)
tree92648031b598cb9e709a9fd303ec617e38ee32a6
parent1da7bdd25e5ec8d8b602ed54ef468355e0beedeb (diff)
parentbee0c1b12f7e76f6ef1a0756f67d60a400838fd4 (diff)
Merge remote-tracking branch 'origin/5.9' into dev
-rw-r--r--.gitmodules2
-rw-r--r--coin/platform_configs/default.txt12
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/001-systemsetup.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/002-apt.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.12-x86_64/020-xcode.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-10.12-x86_64/021-commandlinetools.sh111
-rwxr-xr-xcoin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh2
-rwxr-xr-xcoin/provisioning/qtci-osx-10.11-x86_64/020-xcode.sh8
-rwxr-xr-xcoin/provisioning/qtci-osx-10.11-x86_64/021-commandlinetools.sh111
10 files changed, 28 insertions, 232 deletions
diff --git a/.gitmodules b/.gitmodules
index 9fbe0308..16393b28 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -93,7 +93,7 @@
priority = 50
[submodule "qtlocation"]
depends = qtbase
- recommends = qtdeclarative qtquickcontrols qtserialport
+ recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
path = qtlocation
url = ../qtlocation.git
branch = dev
diff --git a/coin/platform_configs/default.txt b/coin/platform_configs/default.txt
index 70495e76..ddebdde6 100644
--- a/coin/platform_configs/default.txt
+++ b/coin/platform_configs/default.txt
@@ -2,13 +2,13 @@ Template Target OS Target arch Compiler
----------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
qtci-windows-8-x86_64 MSVC2013 DeveloperBuild Release BuildExamples
qtci-windows-10-x86_64 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix
-qtci-windows-8-x86 MSVC2013 Packaging DebugAndRelease Release OpenGLDynamic
-qtci-windows-8-x86_64 MSVC2013 Packaging DebugAndRelease Release OpenGLDynamic
+qtci-windows-8-x86 MSVC2013 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
+qtci-windows-8-x86_64 MSVC2013 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
qtci-windows-7-x86 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic
-qtci-windows-10-x86 MSVC2015 Packaging DebugAndRelease Release OpenGLDynamic
-qtci-windows-10-x86_64 MSVC2015 Packaging DebugAndRelease Release OpenGLDynamic
-qtci-windows-10-x86_64 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release DisableTests
-qtci-windows-10-x86_64 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release DisableTests
+qtci-windows-10-x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
+qtci-windows-10-x86_64 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
+qtci-windows-10-x86_64 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
+qtci-windows-10-x86_64 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
qtci-linux-Ubuntu-16.04-x86_64 GCC NoWidgets ForceDebugInfo DisableTests
qtci-linux-Ubuntu-16.04-x86_64 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace DisableTests
qtci-linux-Ubuntu-14.04-x86_64 GCC NoWidgets ForceDebugInfo
diff --git a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/001-systemsetup.sh b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/001-systemsetup.sh
index 06f44049..1881ae0b 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/001-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/001-systemsetup.sh
@@ -38,7 +38,7 @@
# shellcheck source=../common/try_catch.sh
source "${BASH_SOURCE%/*}/../common/try_catch.sh"
-NTS_IP=10.212.2.0
+NTS_IP=10.212.2.216
ExceptionGsettings1=100
ExceptionGsettings2=101
diff --git a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/002-apt.sh b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/002-apt.sh
index b727659f..8b28c981 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/002-apt.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/002-apt.sh
@@ -80,6 +80,8 @@ try
# Install libraries needed for QtMultimedia to be able to support all plugins
sudo DEBIAN_FRONTEND=noninteractive apt -q -y install libasound2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev || throw $ExceptionAPT
sudo DEBIAN_FRONTEND=noninteractive apt -q -y 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 -q -y install g++-multilib || throw $ExceptionAPT
)
catch || {
case $ex_code in
diff --git a/coin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh b/coin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh
index 000c8c0a..48430389 100755
--- a/coin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh
@@ -39,7 +39,7 @@
source "${BASH_SOURCE%/*}/../common/try_catch.sh"
VNCPassword=qt
-NTS_IP=10.212.2.0
+NTS_IP=10.212.2.216
ExceptionDisableScreensaver=100
ExceptionSetInitialDelay=101
diff --git a/coin/provisioning/qtci-macos-10.12-x86_64/020-xcode.sh b/coin/provisioning/qtci-macos-10.12-x86_64/020-xcode.sh
index 260f18aa..070ed049 100755
--- a/coin/provisioning/qtci-macos-10.12-x86_64/020-xcode.sh
+++ b/coin/provisioning/qtci-macos-10.12-x86_64/020-xcode.sh
@@ -50,6 +50,7 @@ ExceptionSHA1=101
ExceptionUnXZ=102
ExceptionCPIO=103
ExceptionDelete=104
+ExceptionAcceptLicense=105
url=http://ci-files01-hki.ci.local/input/mac/macos_10.12_sierra/Xcode_8.2.1.xz
@@ -73,6 +74,9 @@ try
echo "Deleting '${targetFile%.*}'"
rm "${targetFile%.*}" || throw $ExceptionDelete
+ echo "Accept license"
+ sudo xcodebuild -license accept || throw $ExceptionAcceptLicense
+
echo "XCode = 8.2.1" >> ~/versions.txt
)
catch || {
@@ -97,6 +101,10 @@ catch || {
echo "Failed to delete temporary file."
exit 1;
;;
+ $ExceptionAcceptLicense)
+ echo "Failed to accept license."
+ exit 1;
+ ;;
esac
}
diff --git a/coin/provisioning/qtci-macos-10.12-x86_64/021-commandlinetools.sh b/coin/provisioning/qtci-macos-10.12-x86_64/021-commandlinetools.sh
deleted file mode 100755
index e90904fd..00000000
--- a/coin/provisioning/qtci-macos-10.12-x86_64/021-commandlinetools.sh
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/bash
-
-#############################################################################
-##
-## 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$
-##
-#############################################################################
-
-# This script installs Command Line Tools for Xcode
-# Prerequisite: Get the .dmg file from Apple Store beforehand to local cache
-
-# shellcheck source=../common/try_catch.sh
-source "${BASH_SOURCE%/*}/../common/try_catch.sh"
-
-ExceptionDownloadUrl=100
-ExceptionSHA1=101
-ExceptionAttachImage=102
-ExceptionInstall=103
-ExceptionDetachImage=104
-ExceptionRemoveTmpFile=105
-ExceptionAcceptLicense=106
-
-
-url=http://ci-files01-hki.ci.local/input/mac/macos_10.12_sierra/Command_Line_Tools_macOS_10.12_for_Xcode_8.2.dmg
-targetFile=/tmp/Command_Line_Tools_macOS_10.12_for_Xcode_8.2.dmg
-expectedSha1=0a55c5682c18879cfff7761619adb769ea396a79
-
-try
-(
- echo "Downloading Command Line Tools from URL '$url'"
- curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || throw $ExceptionDownloadUrl
-
- echo "Checking SHA1 on '$targetFile'"
- echo "$expectedSha1 *$targetFile" | shasum --check || throw $ExceptionSHA1
-
- echo Mounting DMG
- hdiutil attach "$targetFile" || throw $ExceptionAttachImage
-
- echo Installing Command Line Tools
- (cd /Volumes/Command\ Line\ Developer\ Tools/ && sudo installer -pkg "Command Line Tools (macOS Sierra version 10.12).pkg" -target /) || throw $ExceptionInstall
-
- hdiutil detach /dev/disk1s1 || throw $ExceptionDetachImage
-
- echo "Removing temporary file '$targetFile'"
- rm "$targetFile" || throw $ExceptionRemoveTmpFile
-
- echo "Accept license"
- sudo xcodebuild -license accept || throw $ExceptionAcceptLicense
-
- echo "Command Line Tools = 8.2" >> ~/versions.txt
-)
-catch || {
- case $ex_code in
- $ExceptionDownloadUrl)
- echo "Failed to download Command Line Tools from form URL '$url'."
- exit 1;
- ;;
- $ExceptionSHA1)
- echo "Failed to check SHA1."
- exit 1;
- ;;
- $ExceptionAttachImage)
- echo "Failed to attach image."
- exit 1;
- ;;
- $ExceptionInstall)
- echo "Failed to install Command Line Tools."
- exit 1;
- ;;
- $ExceptionDetachImage)
- echo "Failed to detach image."
- exit 1;
- ;;
- $ExceptionRemoveTmpFile)
- echo "Failed to remove temporary file."
- exit 1;
- ;;
- $ExceptionAcceptLicense)
- echo "Failed to accept license."
- exit 1;
- ;;
-
- esac
-}
diff --git a/coin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh b/coin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh
index 399ae47e..47bf03f8 100755
--- a/coin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh
+++ b/coin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh
@@ -39,7 +39,7 @@
source "${BASH_SOURCE%/*}/../common/try_catch.sh"
VNCPassword=qt
-NTS_IP=10.212.2.0
+NTS_IP=10.212.2.216
ExceptionDisableScreensaver=100
ExceptionSetInitialDelay=101
diff --git a/coin/provisioning/qtci-osx-10.11-x86_64/020-xcode.sh b/coin/provisioning/qtci-osx-10.11-x86_64/020-xcode.sh
index dc02ae14..44453e55 100755
--- a/coin/provisioning/qtci-osx-10.11-x86_64/020-xcode.sh
+++ b/coin/provisioning/qtci-osx-10.11-x86_64/020-xcode.sh
@@ -52,6 +52,7 @@ ExceptionSHA1=101
ExceptionUnXZ=102
ExceptionCPIO=103
ExceptionDelete=104
+ExceptionAcceptLicense=105
url=http://ci-files01-hki.ci.local/input/mac/Xcode_8.2.xz
@@ -75,6 +76,9 @@ try
echo "Deleting '${targetFile%.*}'"
rm "${targetFile%.*}" || throw $ExceptionDelete
+ echo "Accept license"
+ sudo xcodebuild -license accept || throw $ExceptionAcceptLicense
+
echo "Xcode = 8.2" >> ~/versions.txt
)
catch || {
@@ -99,6 +103,10 @@ catch || {
echo "Failed to delete temporary file."
exit 1;
;;
+ $ExceptionAcceptLicense)
+ echo "Failed to accept license."
+ exit 1;
+ ;;
esac
}
diff --git a/coin/provisioning/qtci-osx-10.11-x86_64/021-commandlinetools.sh b/coin/provisioning/qtci-osx-10.11-x86_64/021-commandlinetools.sh
deleted file mode 100755
index 8a8e921c..00000000
--- a/coin/provisioning/qtci-osx-10.11-x86_64/021-commandlinetools.sh
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/bash
-
-#############################################################################
-##
-## 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$
-##
-#############################################################################
-
-# This script installs Command Line Tools for Xcode
-# Prerequisite: Get the .dmg file from Apple Store beforehand to local cache
-
-# shellcheck source=../common/try_catch.sh
-source "${BASH_SOURCE%/*}/../common/try_catch.sh"
-
-ExceptionDownloadUrl=100
-ExceptionSHA1=101
-ExceptionAttachImage=102
-ExceptionInstall=103
-ExceptionDetachImage=104
-ExceptionRemoveTmpFile=105
-ExceptionAcceptLicense=106
-
-
-url=http://ci-files01-hki.ci.local/input/mac/Command_Line_Tools_macOS_10.11_for_Xcode_8.2.dmg
-targetFile=/tmp/Command_Line_Tools_macOS_10.11_for_Xcode_8.2.dmg
-expectedSha1=4df615ca765ac1a1e681ddcbca79fc15990e3b25
-
-try
-(
- echo "Downloading Command Line Tools from URL '$url'"
- curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || throw $ExceptionDownloadUrl
-
- echo "Checking SHA1 on '$targetFile'"
- echo "$expectedSha1 *$targetFile" | shasum --check || throw $ExceptionSHA1
-
- echo Mounting DMG
- hdiutil attach "$targetFile" || throw $ExceptionAttachImage
-
- echo Installing Command Line Tools
- (cd /Volumes/Command\ Line\ Developer\ Tools/ && sudo installer -pkg "Command Line Tools (macOS El Capitan version 10.11).pkg" -target /) || throw $ExceptionInstall
-
- hdiutil detach /dev/disk1s1 || throw $ExceptionDetachImage
-
- echo "Removing temporary file '$targetFile'"
- rm "$targetFile" || throw $ExceptionRemoveTmpFile
-
- echo "Accept license"
- sudo xcodebuild -license accept || throw $ExceptionAcceptLicense
-
- echo "Command Line Tools = 8.2" >> ~/versions.txt
-)
-catch || {
- case $ex_code in
- $ExceptionDownloadUrl)
- echo "Failed to download Command Line Tools from form URL '$url'."
- exit 1;
- ;;
- $ExceptionSHA1)
- echo "Failed to check SHA1."
- exit 1;
- ;;
- $ExceptionAttachImage)
- echo "Failed to attach image."
- exit 1;
- ;;
- $ExceptionInstall)
- echo "Failed to install Command Line Tools."
- exit 1;
- ;;
- $ExceptionDetachImage)
- echo "Failed to detach image."
- exit 1;
- ;;
- $ExceptionRemoveTmpFile)
- echo "Failed to remove temporary file."
- exit 1;
- ;;
- $ExceptionAcceptLicense)
- echo "Failed to accept license."
- exit 1;
- ;;
-
- esac
-}