mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-27 10:26:03 +08:00
Compare commits
53 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5557d43ee | ||
|
|
0ad453a0fd | ||
|
|
efc461a174 | ||
|
|
4faee20713 | ||
|
|
9584900b5c | ||
|
|
2dcb31a181 | ||
|
|
2556777f36 | ||
|
|
2ed6386fe3 | ||
|
|
b0bfbf3bf0 | ||
|
|
3fb555a773 | ||
|
|
19b472f1ff | ||
|
|
8a8134e878 | ||
|
|
6fbf179f73 | ||
|
|
e00d0be179 | ||
|
|
d445febd14 | ||
|
|
9c2315789d | ||
|
|
7b77cbc4df | ||
|
|
388494d7ee | ||
|
|
fdbccea88a | ||
|
|
49f1a7f0a6 | ||
|
|
0b10bd3657 | ||
|
|
02df76bf07 | ||
|
|
6bed56a680 | ||
|
|
0536b1e9e4 | ||
|
|
b3bc77fc73 | ||
|
|
9b6d296096 | ||
|
|
5778d17a68 | ||
|
|
70b3b02977 | ||
|
|
451f93e26b | ||
|
|
51cf8dcf3b | ||
|
|
3529d894ba | ||
|
|
928c491397 | ||
|
|
a97874523f | ||
|
|
2be9656332 | ||
|
|
82873b1b1e | ||
|
|
9443890d60 | ||
|
|
e50f5b9150 | ||
|
|
9812986913 | ||
|
|
c07377e739 | ||
|
|
a1ec8795c6 | ||
|
|
c41d854254 | ||
|
|
9b9801b7d4 | ||
|
|
3963056f63 | ||
|
|
54f1bfd10c | ||
|
|
2aff311423 | ||
|
|
d61ac6c2f0 | ||
|
|
499c5390b3 | ||
|
|
e80d89059c | ||
|
|
c80e96bb09 | ||
|
|
f05fece2f7 | ||
|
|
fdf1b3cc8d | ||
|
|
c2549708e5 | ||
|
|
4007fc7a26 |
68
.gitmodules
vendored
68
.gitmodules
vendored
@@ -1,66 +1,66 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtsvg qtxmlpatterns
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtscript"]
|
||||
depends = qtbase
|
||||
recommends = qttools
|
||||
path = qtscript
|
||||
url = ../qtscript.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = deprecated
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = essential
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt qtwebkit
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
path = qtxmlpatterns
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qttranslations"]
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
depends = qtdeclarative
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -74,7 +74,7 @@
|
||||
recommends = qtdeclarative qtlocation qtmultimedia qtsensors qtwebchannel qtxmlpatterns
|
||||
path = qtwebkit
|
||||
url = ../qtwebkit.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = obsolete
|
||||
project = WebKit.pro
|
||||
priority = 20
|
||||
@@ -82,7 +82,7 @@
|
||||
depends = qtwebkit qttools
|
||||
path = qtwebkit-examples
|
||||
url = ../qtwebkit-examples.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = obsolete
|
||||
[submodule "qtqa"]
|
||||
depends = qtbase
|
||||
@@ -96,14 +96,14 @@
|
||||
recommends = qtdeclarative qtquickcontrols qtserialport qtsystems
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -136,130 +136,130 @@
|
||||
recommends = qtdeclarative qtandroidextras
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtdeclarative qtimageformats
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = preview
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtquick1"]
|
||||
depends = qtscript
|
||||
recommends = qtsvg qtxmlpatterns
|
||||
path = qtquick1
|
||||
url = ../qtquick1.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = obsolete
|
||||
[submodule "qtgraphicaleffects"]
|
||||
depends = qtdeclarative
|
||||
path = qtgraphicaleffects
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtquickcontrols"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtgraphicaleffects
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = essential
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = preview
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtx11extras"]
|
||||
depends = qtbase
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtmacextras"]
|
||||
depends = qtbase
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtwinextras"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtandroidextras"]
|
||||
depends = qtbase
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtenginio"]
|
||||
depends = qtdeclarative
|
||||
path = qtenginio
|
||||
url = ../qtenginio.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = deprecated
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtquickcontrols qtwebchannel
|
||||
recommends = qtlocation
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
depends = qtdeclarative
|
||||
path = qtcanvas3d
|
||||
url = ../qtcanvas3d.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtwebview"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = addon
|
||||
[submodule "qtquickcontrols2"]
|
||||
depends = qtquickcontrols
|
||||
path = qtquickcontrols2
|
||||
url = ../qtquickcontrols2.git
|
||||
branch = 5.6.0
|
||||
branch = 5.6.2
|
||||
status = preview
|
||||
[submodule "qtpurchasing"]
|
||||
depends = qtbase
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
||||
Contact: http://www.qt.io/licensing/
|
||||
|
||||
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||
You may use, distribute and copy the Qt Toolkit under the terms of
|
||||
GNU General Public License version 2, which is displayed below.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
||||
Contact: http://www.qt.io/licensing/
|
||||
|
||||
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||
You may use, distribute and copy the Qt Toolkit under the terms of
|
||||
GNU Lesser General Public License version 3. That license references
|
||||
the General Public License version 3, that is displayed below. Other
|
||||
portions of the Qt Toolkit may be licensed directly under this license.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
||||
Contact: http://www.qt.io/licensing/
|
||||
|
||||
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||
You may use, distribute and copy the Qt Toolkit under the terms of
|
||||
GNU Lesser General Public License version 2.1, which is displayed below.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
||||
Contact: http://www.qt.io/licensing/
|
||||
|
||||
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||
You may use, distribute and copy the Qt Toolkit under the terms of
|
||||
GNU Lesser General Public License version 3, which is displayed below.
|
||||
This license makes reference to the version 3 of the GNU General
|
||||
Public License, which you can find in the LICENSE.GPLv3 file.
|
||||
|
||||
29
README
29
README
@@ -16,29 +16,6 @@ HOW TO BUILD QT5
|
||||
please see section "Setting up your machine" on:
|
||||
http://wiki.qt.io/Get_The_Source
|
||||
|
||||
Optional requirements
|
||||
---------------------
|
||||
|
||||
- OpenSSL for SSL sockets or HTTPS
|
||||
- Wayland
|
||||
|
||||
New dependencies in Qt 5
|
||||
------------------------
|
||||
|
||||
Linux: On systems running X11, the XCB libraries are required for
|
||||
the platform plugin to build. qtbase/src/plugins/platforms/xcb/README
|
||||
lists the required packages.
|
||||
|
||||
Qt 5 can make use of the ICU libraries providing Unicode and Globalization
|
||||
support (see http://site.icu-project.org/). They are required for building
|
||||
QtWebKit.
|
||||
On Linux, they will be auto-detected.
|
||||
On Windows, they need to be manually installed and the "include" and "lib"
|
||||
folders of the ICU installation must be appended to the INCLUDE and LIB
|
||||
environment variables after calling the Windows SDK setup script.
|
||||
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:
|
||||
----------
|
||||
|
||||
@@ -110,11 +87,11 @@ HOW TO BUILD QT5
|
||||
default in the build system.
|
||||
|
||||
It is possible to build selected modules with their dependencies by doing
|
||||
a `make module-<foo>'. For example, to build only qtscript and qtwebkit,
|
||||
and the modules they depend on:
|
||||
a `make module-<foo>'. For example, to build only qtdeclarative,
|
||||
and the modules it depends on:
|
||||
|
||||
./configure -prefix $PWD/qtbase <license>
|
||||
make -j4 module-qtscript module-qtwebkit
|
||||
make -j4 module-qtdeclarative
|
||||
|
||||
This can save a lot of time if you are only interested in a subset of Qt5.
|
||||
|
||||
|
||||
11
coin/README
Normal file
11
coin/README
Normal file
@@ -0,0 +1,11 @@
|
||||
Continuous Integration
|
||||
======================
|
||||
|
||||
This directory contains files used by Qt's Continuous Integration system (Coin).
|
||||
|
||||
provisioning
|
||||
------------
|
||||
Contains scripts that apply to different test machines in order to run automatic tests on them.
|
||||
For Windows scripts, make sure that the machine has "Set-ExecutionPolicy RemoteSigned -Force" set.
|
||||
(Run as admin in PowerShell)
|
||||
|
||||
31
coin/provisioning/common/helpers.ps1
Normal file
31
coin/provisioning/common/helpers.ps1
Normal file
@@ -0,0 +1,31 @@
|
||||
function Verify-Checksum
|
||||
{
|
||||
Param (
|
||||
[string]$File=$(throw("You must specify a filename to get the checksum of.")),
|
||||
[string]$Expected=$(throw("Checksum required")),
|
||||
[ValidateSet("sha1","md5")][string]$Algorithm="sha1"
|
||||
)
|
||||
$fs = new-object System.IO.FileStream $File, "Open"
|
||||
$algo = [type]"System.Security.Cryptography.$Algorithm"
|
||||
$crypto = $algo::Create()
|
||||
$hash = [BitConverter]::ToString($crypto.ComputeHash($fs)).Replace("-", "")
|
||||
$fs.Close()
|
||||
if ($hash -ne $Expected) {
|
||||
Write-Error "Checksum verification failed, got: '$hash' expected: '$Expected'"
|
||||
}
|
||||
}
|
||||
|
||||
function Extract-Zip
|
||||
{
|
||||
Param (
|
||||
[string]$Source,
|
||||
[string]$Destination
|
||||
)
|
||||
echo "Extracting '$Source' to '$Destination'..."
|
||||
|
||||
New-Item -ItemType Directory -Force -Path $Destination
|
||||
$shell = new-object -com shell.application
|
||||
$zipfile = $shell.Namespace($Source)
|
||||
$destinationFolder = $shell.Namespace($Destination)
|
||||
$destinationFolder.CopyHere($zipfile.Items(), 16)
|
||||
}
|
||||
9
coin/provisioning/common/icu.ps1
Normal file
9
coin/provisioning/common/icu.ps1
Normal file
@@ -0,0 +1,9 @@
|
||||
# ICU is already pre-installed on Windows machines, it would be nice to have
|
||||
# the installation script, but for now let's just export the right variables
|
||||
|
||||
# FIXME: do we really want to have it per MSVC version? What about MSVC2015?
|
||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_MSVC2012", "C:\\Utils\\icu_53_1_msvc_2012_64_devel\\icu53_1", "Machine")
|
||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_MSVC2013", "C:\\Utils\\icu_53_1_msvc_2013_64_devel\\icu53_1", "Machine")
|
||||
|
||||
# FIXME: do we really want to use the 4.8.2 ICU build?
|
||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_Mingw49", "C:\Utils\icu_53_1_Mingw_builds_4_8_2_posix_seh_64_devel\icu53_1", "Machine")
|
||||
9
coin/provisioning/common/jom.ps1
Normal file
9
coin/provisioning/common/jom.ps1
Normal file
@@ -0,0 +1,9 @@
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
$zip = "c:\users\qt\downloads\jom_1_1_0.zip"
|
||||
|
||||
Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_0.zip -OutFile $zip
|
||||
Verify-Checksum $zip "C4149FE706B25738B4C4E54C73E180B9CAB55832"
|
||||
Extract-Zip $zip C:\Utils\Jom
|
||||
|
||||
[Environment]::SetEnvironmentVariable("CI_JOM_PATH", "C:\Utils\Jom", "Machine")
|
||||
@@ -0,0 +1,6 @@
|
||||
# provides: fix for possible bug in the subscription manager
|
||||
# version: provided by RedHat
|
||||
# needed for yum to work properly in case there is incorrect data in
|
||||
# the sslclientkey repository parameter value
|
||||
sudo rm -f /etc/pki/entitlement/*
|
||||
sudo subscription-manager refresh
|
||||
4
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/06-odbc.sh
Normal file
4
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/06-odbc.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
# provides: odbc devel packages on RHEL
|
||||
# version: provided by default Linux distribution repository
|
||||
# needed for configure -plugin-sql-odbc in qtbase
|
||||
sudo yum install -y unixODBC-devel
|
||||
70
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/install_icu.sh
Normal file
70
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/install_icu.sh
Normal file
@@ -0,0 +1,70 @@
|
||||
#!/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2016 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the test suite 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 the right ICU version
|
||||
|
||||
set -e
|
||||
icuVersion="56.1"
|
||||
icuLocation="/usr/lib64"
|
||||
sha1="f2eab775c04ce5f3bdae6c47d06b62158b5d6753"
|
||||
|
||||
function Install7ZPackageFromURL {
|
||||
url=$1
|
||||
expectedSha1=$2
|
||||
targetDirectory=$3
|
||||
|
||||
targetFile=`mktemp` || echo "Failed to create temporary file"
|
||||
wget --tries=5 --waitretry=5 --output-document=$targetFile $url || echo "Failed to download '$url' multiple times"
|
||||
echo "$expectedSha1 $targetFile" | sha1sum --check || echo "Failed to check sha1sum"
|
||||
sudo /usr/local/bin/7z x -yo$targetDirectory $targetFile || echo "Failed to unzip $url archive"
|
||||
rm $targetFile
|
||||
}
|
||||
|
||||
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
|
||||
|
||||
baseBinaryPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64.7z"
|
||||
Install7ZPackageFromURL $baseBinaryPackageURL $sha1 "/usr/lib64"
|
||||
|
||||
echo "Installing custom ICU devel packages on RHEL"
|
||||
|
||||
sha1Dev="82f8b216371b848b8d36ecec7fe7b6e9b0dba0df"
|
||||
develPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64-devel.7z"
|
||||
tempDir=`mktemp -d` || echo "Failed to create temporary directory"
|
||||
trap "sudo rm -fr $tempDir" EXIT
|
||||
Install7ZPackageFromURL $develPackageURL $sha1Dev $tempDir
|
||||
sudo cp -a $tempDir/lib/* /usr/lib64
|
||||
sudo cp -a $tempDir/* /usr/
|
||||
|
||||
sudo /sbin/ldconfig
|
||||
2
coin/provisioning/qtci-osx-10.10/crashreporter.sh
Normal file
2
coin/provisioning/qtci-osx-10.10/crashreporter.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
defaults write com.apple.CrashReporter DialogType server
|
||||
2
coin/provisioning/qtci-osx-10.11/crashreporter.sh
Normal file
2
coin/provisioning/qtci-osx-10.11/crashreporter.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
defaults write com.apple.CrashReporter DialogType server
|
||||
2
coin/provisioning/qtci-osx-10.8/crashreporter.sh
Normal file
2
coin/provisioning/qtci-osx-10.8/crashreporter.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
defaults write com.apple.CrashReporter DialogType server
|
||||
2
coin/provisioning/qtci-osx-10.9/crashreporter.sh
Normal file
2
coin/provisioning/qtci-osx-10.9/crashreporter.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
defaults write com.apple.CrashReporter DialogType server
|
||||
1
coin/provisioning/qtci-windows-10-x86/icu.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86/icu.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\icu.ps1"
|
||||
1
coin/provisioning/qtci-windows-10-x86/jom.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86/jom.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\jom.ps1"
|
||||
1
coin/provisioning/qtci-windows-10-x86_64/icu.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86_64/icu.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\icu.ps1"
|
||||
1
coin/provisioning/qtci-windows-10-x86_64/jom.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86_64/jom.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\jom.ps1"
|
||||
1
coin/provisioning/qtci-windows-7-x86/icu.ps1
Normal file
1
coin/provisioning/qtci-windows-7-x86/icu.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\icu.ps1"
|
||||
1
coin/provisioning/qtci-windows-7-x86/jom.ps1
Normal file
1
coin/provisioning/qtci-windows-7-x86/jom.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\jom.ps1"
|
||||
1
coin/provisioning/qtci-windows-8-x86/icu.ps1
Normal file
1
coin/provisioning/qtci-windows-8-x86/icu.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\icu.ps1"
|
||||
1
coin/provisioning/qtci-windows-8-x86/jom.ps1
Normal file
1
coin/provisioning/qtci-windows-8-x86/jom.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\jom.ps1"
|
||||
1
coin/provisioning/qtci-windows-8-x86_64/icu.ps1
Normal file
1
coin/provisioning/qtci-windows-8-x86_64/icu.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\icu.ps1"
|
||||
1
coin/provisioning/qtci-windows-8-x86_64/jom.ps1
Normal file
1
coin/provisioning/qtci-windows-8-x86_64/jom.ps1
Normal file
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\jom.ps1"
|
||||
@@ -155,9 +155,13 @@ EOF
|
||||
}
|
||||
|
||||
use Carp qw( confess );
|
||||
use Cwd qw( getcwd abs_path );
|
||||
use English qw( -no_match_vars );
|
||||
use File::Spec::Functions qw ( rel2abs );
|
||||
use Getopt::Long qw( GetOptions );
|
||||
use Cwd qw( getcwd );
|
||||
|
||||
my $script_path = abs_path($0);
|
||||
$script_path =~ s,[/\\][^/\\]+$,,;
|
||||
|
||||
my $GERRIT_SSH_BASE
|
||||
= 'ssh://@USER@codereview.qt-project.org@PORT@/';
|
||||
@@ -330,26 +334,36 @@ sub git_clone_all_submodules
|
||||
|
||||
my %include = ();
|
||||
foreach my $mod (@subset) {
|
||||
my $del = ($mod =~ s/^-//);
|
||||
my $fail = 0;
|
||||
my @what;
|
||||
if ($mod eq "all") {
|
||||
map { $include{$_} = 1; } keys %subbases;
|
||||
@what = keys %subbases;
|
||||
} elsif ($mod eq "essential") {
|
||||
map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_ESSENTIAL } keys %subbases;
|
||||
@what = grep { ($subinits{$_} || 0) eq STS_ESSENTIAL } keys %subbases;
|
||||
} elsif ($mod eq "addon") {
|
||||
map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_ADDON } keys %subbases;
|
||||
@what = grep { ($subinits{$_} || 0) eq STS_ADDON } keys %subbases;
|
||||
} elsif ($mod eq "preview") {
|
||||
map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_PREVIEW } keys %subbases;
|
||||
@what = grep { ($subinits{$_} || 0) eq STS_PREVIEW } keys %subbases;
|
||||
} elsif ($mod eq "deprecated") {
|
||||
map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_DEPRECATED } keys %subbases;
|
||||
@what = grep { ($subinits{$_} || 0) eq STS_DEPRECATED } keys %subbases;
|
||||
} elsif ($mod eq "obsolete") {
|
||||
map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_OBSOLETE } keys %subbases;
|
||||
} elsif ($mod =~ s/^-//) {
|
||||
@what = grep { ($subinits{$_} || 0) eq STS_OBSOLETE } keys %subbases;
|
||||
} elsif ($mod eq "ignore") {
|
||||
@what = grep { ($subinits{$_} || 0) eq 0 } keys %subbases;
|
||||
} elsif (defined($subdirs{$mod})) {
|
||||
push @what, $mod;
|
||||
} else {
|
||||
$fail = 1;
|
||||
}
|
||||
if ($del) {
|
||||
print "Warning: excluding non-existent module '$mod'.\n"
|
||||
if (!defined($subdirs{$mod}));
|
||||
delete $include{$mod};
|
||||
if ($fail);
|
||||
map { delete $include{$_} } @what;
|
||||
} else {
|
||||
die("Error: module subset names non-existent '$mod'.\n")
|
||||
if (!defined($subdirs{$mod}));
|
||||
$include{$mod} = 1;
|
||||
if ($fail);
|
||||
map { $include{$_} = 1; } @what;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -522,11 +536,16 @@ sub ensure_link
|
||||
return if (!$self->{'force-hooks'} and -f $tgt);
|
||||
unlink($tgt); # In case we have a dead symlink or pre-existing hook
|
||||
print "Aliasing $src\n as $tgt ...\n" if (!$self->{quiet});
|
||||
return if eval { symlink($src, $tgt) };
|
||||
if ($^O ne "msys" && $^O ne "MSWin32") {
|
||||
return if eval { symlink($src, $tgt) };
|
||||
}
|
||||
# Windows doesn't do (proper) symlinks. As the post_commit script needs
|
||||
# them to locate itself, we write a forwarding script instead.
|
||||
open SCRIPT, ">".$tgt or die "Cannot create forwarding script $tgt: $!\n";
|
||||
print SCRIPT "#!/bin/sh\nexec `dirname \$0`/$src \"\$\@\"\n";
|
||||
# Make the path palatable for MSYS.
|
||||
$src =~ s,\\,/,g;
|
||||
$src =~ s,^(.):/,/$1/,g;
|
||||
print SCRIPT "#!/bin/sh\nexec $src \"\$\@\"\n";
|
||||
close SCRIPT;
|
||||
}
|
||||
|
||||
@@ -534,19 +553,31 @@ sub git_install_hooks
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
return if (!-d 'qtrepotools/git-hooks');
|
||||
my $hooks = $script_path.'/qtrepotools/git-hooks';
|
||||
return if (!-d $hooks);
|
||||
|
||||
# Force C locale as git submodule returns the localized string "Entering"
|
||||
local $ENV{LC_ALL} = 'C';
|
||||
chomp(my @modules = `git submodule foreach :`);
|
||||
push @modules, "";
|
||||
for my $module (@modules) {
|
||||
$module =~ s,^Entering \'([^\']+)\'$,$1/,;
|
||||
my $rel = $module;
|
||||
$rel =~ s,[^/]+,..,g;
|
||||
$rel .= "../../qtrepotools/git-hooks/";
|
||||
$self->ensure_link($rel.'gerrit_commit_msg_hook', $module.'.git/hooks/commit-msg');
|
||||
$self->ensure_link($rel.'git_post_commit_hook', $module.'.git/hooks/post-commit');
|
||||
my @configresult = qx(git config --list --local);
|
||||
foreach my $line (@configresult) {
|
||||
next if ($line !~ /submodule\.([^.=]+)\.url=/);
|
||||
my $module = $1;
|
||||
my $module_gitdir = $module.'/.git';
|
||||
if (!-d $module_gitdir) {
|
||||
open GITD, $module_gitdir or die "Cannot open $module: $!\n";
|
||||
my $gd = <GITD>;
|
||||
close GITD;
|
||||
chomp($gd);
|
||||
$gd =~ s/^gitdir: // or die "Malformed .git file $module_gitdir\n";
|
||||
$module_gitdir = rel2abs($gd, $module);
|
||||
if (open COMD, $module_gitdir.'/commondir') {
|
||||
my $cd = <COMD>;
|
||||
chomp($cd);
|
||||
$module_gitdir .= '/'.$cd;
|
||||
$module_gitdir = abs_path($module_gitdir);
|
||||
close COMD;
|
||||
}
|
||||
}
|
||||
$self->ensure_link($hooks.'/gerrit_commit_msg_hook', $module_gitdir.'/hooks/commit-msg');
|
||||
$self->ensure_link($hooks.'/git_post_commit_hook', $module_gitdir.'/hooks/post-commit');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
2
qt3d
2
qt3d
Submodule qt3d updated: 7a208d76ed...d3889211dc
Submodule qtactiveqt updated: ffa6ba6d81...c3dda3b45c
Submodule qtandroidextras updated: c2ca28adc0...d973d761c5
2
qtbase
2
qtbase
Submodule qtbase updated: d0cdc7ad1e...b4ada3f0d8
Submodule qtcanvas3d updated: 5a17c4ca05...85fe2daab5
Submodule qtconnectivity updated: 8b550f0a75...bd7649557e
Submodule qtdeclarative updated: dc558b69f0...c1d726fe19
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 2ed0ac4bbb...2a3a8c9e86
Submodule qtenginio updated: 2a19257a5e...6c37300c66
Submodule qtfeedback updated: 862de791d7...28ca624149
Submodule qtgraphicaleffects updated: 4b8e9a348c...0b68e91d68
Submodule qtimageformats updated: 0bd46d5861...d7bdc138b8
Submodule qtlocation updated: ca4bce553d...7d01112c36
Submodule qtmacextras updated: d8ebb7eeea...15c849dcfd
Submodule qtmultimedia updated: 9985224a89...20686cb51f
2
qtpim
2
qtpim
Submodule qtpim updated: fa74ad6eda...de4cfc6b53
Submodule qtpurchasing updated: 951d75d744...b5c6c76fac
2
qtqa
2
qtqa
Submodule qtqa updated: 683f523bcc...e49c7d6f19
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: dcc5e5c01c...5eab543c5c
Submodule qtquickcontrols updated: 85c2d2cce4...59c6c0e0b1
Submodule qtquickcontrols2 updated: 7fc567eda8...e93c73c0aa
Submodule qtrepotools updated: 333ca78f19...7b54379392
2
qtscript
2
qtscript
Submodule qtscript updated: a70f6a1b95...9dc78a2d84
Submodule qtsensors updated: 7197e7f4b3...922c2bb671
Submodule qtserialbus updated: 48f3257259...0a4a5f7e1c
Submodule qtserialport updated: 03d492e49e...46ef9fdc13
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 38777ea745...2d55b4996e
Submodule qtsystems updated: 37b614abbf...cc2077700b
2
qttools
2
qttools
Submodule qttools updated: 9904992dc4...a9e5e09f15
Submodule qttranslations updated: 41d212290c...225e1740fe
Submodule qtwayland updated: 29b8bd8b11...82e1158392
Submodule qtwebchannel updated: 92d903d92b...3b28a6956c
Submodule qtwebengine updated: 5c4ae298b0...ec84507898
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 81f43efbb2...b35917bcb4
Submodule qtwebkit-examples updated: 7988aecdbc...2a143bf81b
Submodule qtwebsockets updated: 88946bbe20...ef7b03e3e5
Submodule qtwebview updated: 847f8c40c1...6313ae2b2a
Submodule qtwinextras updated: b53d3a1e14...d80f8bcf50
Submodule qtx11extras updated: d64ee96f0d...df10edcfae
Submodule qtxmlpatterns updated: de2dadb8af...074571305e
Reference in New Issue
Block a user