mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-19 19:46:16 +08:00
Compare commits
62 Commits
v5.12.0-al
...
v5.12.0-be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d01b06b8f | ||
|
|
b621cfd505 | ||
|
|
4667cfc432 | ||
|
|
bc5e5baf55 | ||
|
|
97efaacb2b | ||
|
|
6de2d1d211 | ||
|
|
c51cbddc90 | ||
|
|
7e40cd3a7f | ||
|
|
4c2fea3d5d | ||
|
|
4061156381 | ||
|
|
b365b3853e | ||
|
|
9573b78b56 | ||
|
|
0b1493a840 | ||
|
|
0ac22704fa | ||
|
|
af7dd645c8 | ||
|
|
80aa7d0018 | ||
|
|
ab670f1967 | ||
|
|
61c4be2c0b | ||
|
|
245815a620 | ||
|
|
7b9c3ced84 | ||
|
|
ca36d5b3fa | ||
|
|
e85296ba98 | ||
|
|
260d66f94e | ||
|
|
bc7af0171f | ||
|
|
269e38c27c | ||
|
|
74ab43ba23 | ||
|
|
d58cfd0db9 | ||
|
|
f35067c7c3 | ||
|
|
7520be78cf | ||
|
|
a620807118 | ||
|
|
f1256e1f39 | ||
|
|
00958e9430 | ||
|
|
713ed0c9b8 | ||
|
|
e59a97be63 | ||
|
|
0e0d99d617 | ||
|
|
c51c0a2b2e | ||
|
|
d25341093a | ||
|
|
dada6497fb | ||
|
|
e866953948 | ||
|
|
e95824f59e | ||
|
|
bf0b84a051 | ||
|
|
6a919fb8f5 | ||
|
|
daae11c62b | ||
|
|
040ca5e267 | ||
|
|
72505cc55b | ||
|
|
b9b8066d97 | ||
|
|
c478262c26 | ||
|
|
c870b9b13f | ||
|
|
967129344a | ||
|
|
cd9b6276b8 | ||
|
|
8b4d267af7 | ||
|
|
5872e22f31 | ||
|
|
f70c304b5e | ||
|
|
b54ad48585 | ||
|
|
a2289e9b4e | ||
|
|
32fcfb08ce | ||
|
|
6945c8487c | ||
|
|
cdb1230145 | ||
|
|
1e9fb7f9d9 | ||
|
|
3dd549d618 | ||
|
|
6c225347aa | ||
|
|
e49e7fc8ad |
@@ -9,7 +9,11 @@
|
|||||||
|
|
||||||
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
||||||
#
|
#
|
||||||
# One task per entry. Remember space after colon.
|
# One task per entry. Add a space after the colon.
|
||||||
|
# Use Fixes to automatically close an issue, and Task-number to
|
||||||
|
# reference it without further action.
|
||||||
|
# You do not need both for the same issue.
|
||||||
|
#Fixes:
|
||||||
#Task-number:
|
#Task-number:
|
||||||
#Coverity-Id:
|
#Coverity-Id:
|
||||||
#
|
#
|
||||||
|
|||||||
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -210,8 +210,8 @@
|
|||||||
branch = 5.12
|
branch = 5.12
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebengine"]
|
[submodule "qtwebengine"]
|
||||||
depends = qtquickcontrols qtwebchannel
|
depends = qtdeclarative
|
||||||
recommends = qtlocation qttools
|
recommends = qtquickcontrols qtquickcontrols2 qtlocation qtwebchannel
|
||||||
path = qtwebengine
|
path = qtwebengine
|
||||||
url = ../qtwebengine.git
|
url = ../qtwebengine.git
|
||||||
branch = 5.12
|
branch = 5.12
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ BraceWrapping:
|
|||||||
|
|
||||||
# When constructor initializers do not fit on one line, put them each on a new line.
|
# When constructor initializers do not fit on one line, put them each on a new line.
|
||||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||||
# Indent initializers by 8 spaces
|
# Indent initializers by 4 spaces
|
||||||
ConstructorInitializerIndentWidth: 8
|
ConstructorInitializerIndentWidth: 4
|
||||||
|
|
||||||
# Indent width for line continuations.
|
# Indent width for line continuations.
|
||||||
ContinuationIndentWidth: 8
|
ContinuationIndentWidth: 8
|
||||||
|
|||||||
@@ -1,28 +1,27 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Target Compiler Features
|
||||||
----------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
----------------------------------- ------------------- ----------- ----------- --------------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-10-x86_64-10 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix BuildExamples
|
qtci-windows-10-x86_64-10 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix BuildExamples
|
||||||
qtci-windows-7-x86-3 Mingw73 DeveloperBuild Release OpenGLDynamic
|
qtci-windows-7-x86-3 Mingw73 DeveloperBuild Release OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples
|
qtci-linux-Ubuntu-16.04-x86_64-2 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples
|
||||||
qtci-linux-Ubuntu-18.04-x86_64 GCC NoWidgets ForceDebugInfo
|
qtci-linux-Ubuntu-18.04-x86_64 GCC NoWidgets ForceDebugInfo
|
||||||
qtci-linux-Ubuntu-18.04-x86_64 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
qtci-linux-Ubuntu-18.04-x86_64 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
||||||
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
||||||
qtci-linux-openSUSE-42.3-x86_64 ICC_18 DeveloperBuild NoPch DisableTests SystemSQLite
|
qtci-linux-openSUSE-42.3-x86_64 ICC_18 DeveloperBuild NoPch DisableTests SystemSQLite
|
||||||
qtci-linux-RHEL-7.4-x86_64 GCC Packaging Release NoUseGoldLinker ForceDebugInfo SeparateDebugInfo
|
qtci-linux-RHEL-7.4-x86_64 GCC Packaging Release NoUseGoldLinker ForceDebugInfo SeparateDebugInfo
|
||||||
qtci-macos-10.12-x86_64-8 Clang Packaging DebugAndRelease Release
|
qtci-macos-10.13-x86_64-2 Clang Packaging DebugAndRelease Release
|
||||||
qtci-macos-10.13-x86_64 Clang DebugAndRelease Release
|
qtci-macos-10.12-x86_64-8 Clang DeveloperBuild NoFramework Release QtNamespace NoPch
|
||||||
qtci-macos-10.12-x86_64-8 Clang DeveloperBuild Release QtNamespace NoPch
|
qtci-macos-10.13-x86_64-2 IOS_ANY multi Clang Packaging DebugAndRelease DisableTests Static
|
||||||
qtci-macos-10.12-x86_64-8 Clang Release NoFramework DisableTests
|
qtci-macos-10.13-x86_64-2 TvOS_ANY multi Clang DebugAndRelease DisableTests
|
||||||
qtci-macos-10.13-x86_64 IOS_ANY multi Clang Packaging DebugAndRelease DisableTests Static
|
qtci-macos-10.13-x86_64-2 WatchOS_ANY multi Clang DebugAndRelease DisableTests
|
||||||
qtci-macos-10.13-x86_64 TvOS_ANY multi Clang DebugAndRelease DisableTests
|
qtci-linux-RHEL-7.4-x86_64 Android_ANY armv7 Clang Clang Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-macos-10.13-x86_64 WatchOS_ANY multi Clang DebugAndRelease DisableTests
|
qtci-linux-RHEL-7.4-x86_64 Android_ANY arm64 Clang Clang Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY armv7 Clang Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-Ubuntu-18.04-x86_64 QEMU armv7 GCC Release
|
||||||
qtci-linux-Ubuntu-18.04-x86_64 QEMU armv7 GCC Release
|
qtci-linux-Ubuntu-18.04-x86_64 QEMU arm64 GCC Release
|
||||||
qtci-linux-Ubuntu-18.04-x86_64 QEMU arm64 GCC Release
|
qtci-linux-Ubuntu-18.04-x86_64 GCC TestOnly LicenseCheck
|
||||||
qtci-linux-Ubuntu-18.04-x86_64 GCC TestOnly LicenseCheck
|
qtci-linux-RHEL-7.4-x86_64 INTEGRITY_11_04 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-linux-RHEL-7.4-x86_64 INTEGRITY_11_04 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
|
||||||
|
|||||||
21
coin/platform_configs/qt3d-runtime.txt
Normal file
21
coin/platform_configs/qt3d-runtime.txt
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
Template Target OS Target arch Compiler Target Compiler Features
|
||||||
|
--------------------------- ------------------- ----------- ----------- --------------- -------------------------------------------------------------------------------------
|
||||||
|
qtci-windows-10-x86_64-10 WinRT_10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
|
qtci-windows-10-x86_64-10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
|
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
|
qtci-windows-7-x86-3 Mingw73 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
|
qtci-windows-10-x86_64-10 Mingw73 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
|
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
|
qtci-windows-10-x86_64-10 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
|
qtci-linux-RHEL-7.4-x86_64 Android_ANY x86 GCC Clang Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-windows-7-x86-3 Android_ANY armv7 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||||
|
qtci-windows-7-x86-3 Android_ANY x86 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||||
|
qtci-macos-10.13-x86_64-2 Android_ANY armv7 Clang Clang Packaging Release DisableTests OpenGLES2
|
||||||
|
qtci-macos-10.13-x86_64-2 Android_ANY x86 Clang Clang Packaging Release DisableTests OpenGLES2
|
||||||
|
qtci-macos-10.13-x86_64-2 QNX_700 x86 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-macos-10.13-x86_64-2 IOS_ANY multi Clang Packaging DebugAndRelease DisableTests Static
|
||||||
|
qtci-windows-10-x86_64-10 QNX_700 armv7 Mingw73 Packaging Release DisableTests OpenGLES2
|
||||||
|
qtci-windows-10-x86_64-10 QNX_700 armv8 Mingw73 Packaging Release DisableTests OpenGLES2
|
||||||
|
qtci-windows-10-x86_64-10 QNX_700 x86_64 Mingw73 Packaging Release DisableTests OpenGLES2
|
||||||
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv8 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 x86_64 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
@@ -1,20 +1,22 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Target Compiler Features
|
||||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
--------------------------- ------------------- ----------- ----------- --------------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 x86 MSVC2017 DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-7-x86-3 Mingw73 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
qtci-windows-7-x86-3 Mingw73 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
qtci-windows-10-x86_64-10 Mingw73 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
qtci-windows-10-x86_64-10 Mingw73 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY x86 Clang Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 Android_ANY x86 GCC Clang Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-windows-7-x86-3 Android_ANY armv7 Mingw73 Packaging Release DisableTests OpenGLES2
|
qtci-windows-7-x86-3 Android_ANY armv7 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||||
qtci-windows-7-x86-3 Android_ANY x86 Mingw73 Packaging Release DisableTests OpenGLES2
|
qtci-windows-7-x86-3 Android_ANY arm64 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||||
qtci-macos-10.13-x86_64 Android_ANY armv7 Clang Packaging Release DisableTests OpenGLES2
|
qtci-windows-7-x86-3 Android_ANY x86 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||||
qtci-macos-10.13-x86_64 Android_ANY x86 Clang Packaging Release DisableTests OpenGLES2
|
qtci-macos-10.13-x86_64-2 Android_ANY armv7 Clang Clang Packaging Release DisableTests OpenGLES2
|
||||||
qtci-macos-10.12-x86_64-8 QNX_700 x86 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-macos-10.13-x86_64-2 Android_ANY arm64 Clang Clang Packaging Release DisableTests OpenGLES2
|
||||||
qtci-windows-10-x86_64-10 QNX_700 armv7 Mingw73 Packaging Release DisableTests OpenGLES2
|
qtci-macos-10.13-x86_64-2 Android_ANY x86 Clang Clang Packaging Release DisableTests OpenGLES2
|
||||||
qtci-windows-10-x86_64-10 QNX_700 armv8 Mingw73 Packaging Release DisableTests OpenGLES2
|
qtci-macos-10.13-x86_64-2 QNX_700 x86 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-windows-10-x86_64-10 QNX_700 x86_64 Mingw73 Packaging Release DisableTests OpenGLES2
|
qtci-windows-10-x86_64-10 QNX_700 armv7 Mingw73 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv8 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-windows-10-x86_64-10 QNX_700 armv8 Mingw73 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 x86_64 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-windows-10-x86_64-10 QNX_700 x86_64 Mingw73 Packaging Release DisableTests OpenGLES2
|
||||||
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv8 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 x86_64 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
|||||||
@@ -3,3 +3,5 @@ Template Target OS Target arch Compiler Fe
|
|||||||
qtci-linux-Ubuntu-18.04-x86_64 QEMU armv7 GCC DeveloperBuild DisableTests
|
qtci-linux-Ubuntu-18.04-x86_64 QEMU armv7 GCC DeveloperBuild DisableTests
|
||||||
qtci-linux-Ubuntu-18.04-x86_64 QEMU arm64 GCC DeveloperBuild DisableTests
|
qtci-linux-Ubuntu-18.04-x86_64 QEMU arm64 GCC DeveloperBuild DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 x86_64 MSVC2015 DeveloperBuild Static Release ForceDebugInfo
|
qtci-windows-10-x86_64-10 WinRT_10 x86_64 MSVC2015 DeveloperBuild Static Release ForceDebugInfo
|
||||||
|
qtci-linux-openSUSE-42.3-x86_64 WebAssembly GCC DeveloperBuild NoPch DisableTests
|
||||||
|
|
||||||
|
|||||||
@@ -49,15 +49,15 @@ sdkTargetFolder="$targetFolder/sdk"
|
|||||||
|
|
||||||
basePath="http://ci-files01-hki.intra.qt.io/input/android"
|
basePath="http://ci-files01-hki.intra.qt.io/input/android"
|
||||||
|
|
||||||
toolsVersion="r25.2.5"
|
toolsVersion="r26.1.1"
|
||||||
toolsFile="tools_$toolsVersion-linux.zip"
|
toolsFile="sdk-tools-linux-4333796.zip"
|
||||||
ndkVersion="r16b"
|
ndkVersion="r18b"
|
||||||
ndkFile="android-ndk-$ndkVersion-linux-x86_64.zip"
|
ndkFile="android-ndk-$ndkVersion-linux-x86_64.zip"
|
||||||
sdkBuildToolsVersion="25.0.2"
|
sdkBuildToolsVersion="28.0.3"
|
||||||
sdkApiLevel="android-21"
|
sdkApiLevel="android-21"
|
||||||
|
|
||||||
toolsSha1="72df3aa1988c0a9003ccdfd7a13a7b8bd0f47fc1"
|
toolsSha1="8c7c28554a32318461802c1291d76fccfafde054"
|
||||||
ndkSha1="42aa43aae89a50d1c66c3f9fdecd676936da6128"
|
ndkSha1="500679655da3a86aecf67007e8ab230ea9b4dd7b"
|
||||||
|
|
||||||
toolsTargetFile="/tmp/$toolsFile"
|
toolsTargetFile="/tmp/$toolsFile"
|
||||||
toolsSourceFile="$basePath/$toolsFile"
|
toolsSourceFile="$basePath/$toolsFile"
|
||||||
@@ -90,6 +90,9 @@ else
|
|||||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Checking the contents of Android SDK..."
|
||||||
|
ls -l "$sdkTargetFolder"
|
||||||
|
|
||||||
SetEnvVar "ANDROID_SDK_HOME" "$sdkTargetFolder"
|
SetEnvVar "ANDROID_SDK_HOME" "$sdkTargetFolder"
|
||||||
SetEnvVar "ANDROID_NDK_HOME" "$targetFolder/android-ndk-$ndkVersion"
|
SetEnvVar "ANDROID_NDK_HOME" "$targetFolder/android-ndk-$ndkVersion"
|
||||||
SetEnvVar "ANDROID_NDK_HOST" "linux-x86_64"
|
SetEnvVar "ANDROID_NDK_HOST" "linux-x86_64"
|
||||||
@@ -102,7 +105,12 @@ echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
|||||||
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
||||||
|
|
||||||
cd "$sdkTargetFolder/tools/bin"
|
cd "$sdkTargetFolder/tools/bin"
|
||||||
|
./sdkmanager --install "emulator"
|
||||||
echo "y" | ./sdkmanager --install "system-images;android-21;google_apis;x86"
|
echo "y" | ./sdkmanager --install "system-images;android-21;google_apis;x86"
|
||||||
|
|
||||||
|
echo "Checking the contents of Android SDK again..."
|
||||||
|
ls -l "$sdkTargetFolder"
|
||||||
|
|
||||||
echo "no" | ./avdmanager create avd -n x86emulator -k "system-images;android-21;google_apis;x86" -c 2048M -f
|
echo "no" | ./avdmanager create avd -n x86emulator -k "system-images;android-21;google_apis;x86" -c 2048M -f
|
||||||
# Purely informative, show the list of avd devices
|
# Purely informative, show the list of avd devices
|
||||||
./avdmanager list avd
|
./avdmanager list avd
|
||||||
|
|||||||
4
coin/provisioning/common/linux/disable-cracklib.sh
Executable file
4
coin/provisioning/common/linux/disable-cracklib.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
sudo chmod -x /etc/cron.daily/cracklib-runtime
|
||||||
|
|
||||||
3
coin/provisioning/common/linux/disable-mlocate.sh
Executable file
3
coin/provisioning/common/linux/disable-mlocate.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
sudo chmod -x /etc/cron.daily/mlocate*
|
||||||
78
coin/provisioning/common/linux/emsdk.sh
Executable file
78
coin/provisioning/common/linux/emsdk.sh
Executable file
@@ -0,0 +1,78 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
# shellcheck source=../unix/DownloadURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
|
||||||
|
version="1.38.1"
|
||||||
|
version_node="8.9.1"
|
||||||
|
urlEmscriptenCache="http://ci-files01-hki.intra.qt.io/input/emsdk/emscripten-$version.tar.gz"
|
||||||
|
urlEmscriptenExternal="https://github.com/kripken/emscripten/archive/$version.tar.gz"
|
||||||
|
urlEmscriptenLlvmCache="http://ci-files01-hki.intra.qt.io/input/emsdk/emscripten-llvm-e$version.tar.gz"
|
||||||
|
urlEmscriptenLlvmExternal="https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/tag/linux_64bit/emscripten-llvm-e$version.tar.gz"
|
||||||
|
urlNodeCache="http://ci-files01-hki.intra.qt.io/input/emsdk/node-v$version_node-linux-x64.tar.xz"
|
||||||
|
urlNodeExternal="https://s3.amazonaws.com/mozilla-games/emscripten/packages/node-v$version_node-linux-x64.tar.xz"
|
||||||
|
sha1Emscripten="62243b4219f6ad7f6d4bd5ae4abb27aecb87ffb3"
|
||||||
|
sha1EmscriptenLlvm="933ea5feab3aa5acc5c1e15a0deccf0e3fbeb0a7"
|
||||||
|
sha1Node="eaec5de2af934f7ebc7f9597983e71c5d5a9a726"
|
||||||
|
targetFolder="/opt/emsdk"
|
||||||
|
sudo mkdir "$targetFolder"
|
||||||
|
|
||||||
|
InstallFromCompressedFileFromURL "$urlEmscriptenCache" "$urlEmscriptenExternal" "$sha1Emscripten" "$targetFolder" ""
|
||||||
|
InstallFromCompressedFileFromURL "$urlEmscriptenLlvmCache" "$urlEmscriptenLlvmExternal" "$sha1EmscriptenLlvm" "$targetFolder" ""
|
||||||
|
InstallFromCompressedFileFromURL "$urlNodeCache" "$urlNodeExternal" "$sha1Node" "$targetFolder" ""
|
||||||
|
|
||||||
|
sudo chmod -R a+rwx "$targetFolder"
|
||||||
|
|
||||||
|
echo "Writing $targetFolder/.emscripten"
|
||||||
|
cat <<EOM >"$targetFolder/.emscripten"
|
||||||
|
LLVM_ROOT='$targetFolder/emscripten-llvm-e$version/'
|
||||||
|
EMSCRIPTEN_NATIVE_OPTIMIZER='$targetFolder/emscripten-llvm-e$version/optimizer'
|
||||||
|
BINARYEN_ROOT='$targetFolder/emscripten-llvm-e$version/binaryen'
|
||||||
|
NODE_JS='$targetFolder/node-v$version_node-linux-x64/bin/node'
|
||||||
|
EMSCRIPTEN_ROOT='$targetFolder/emscripten-$version'
|
||||||
|
SPIDERMONKEY_ENGINE = ''
|
||||||
|
V8_ENGINE = ''
|
||||||
|
TEMP_DIR = '/tmp'
|
||||||
|
COMPILER_ENGINE = NODE_JS
|
||||||
|
JS_ENGINES = [NODE_JS]
|
||||||
|
EOM
|
||||||
|
|
||||||
|
SetEnvVar "PATH" "\"$targetFolder/emscripten-llvm-e$version/:$targetFolder/node-v$version_node-linux-x64/bin:$targetFolder/emscripten-$version:\$PATH\""
|
||||||
|
SetEnvVar "EMSCRIPTEN" "$targetFolder/emscripten-$version"
|
||||||
|
SetEnvVar "EM_CONFIG" "$targetFolder/.emscripten"
|
||||||
3
coin/provisioning/common/linux/remove_update-manager.sh
Executable file
3
coin/provisioning/common/linux/remove_update-manager.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
sudo apt-get remove update-manager
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
@@ -64,6 +64,9 @@ function InstallFromCompressedFileFromURL {
|
|||||||
"zip")
|
"zip")
|
||||||
unzip "$targetFile" -d "$targetDirectory"
|
unzip "$targetFile" -d "$targetDirectory"
|
||||||
;;
|
;;
|
||||||
|
"xz")
|
||||||
|
tar -xf "$targetFile" --directory "$targetDirectory"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
@@ -53,9 +53,9 @@ Rename-Item C:\Utils\openssl-$version $destination
|
|||||||
Remove-Item -Path $zip
|
Remove-Item -Path $zip
|
||||||
Remove-Item C:\Utils\openssl-$version.tar
|
Remove-Item C:\Utils\openssl-$version.tar
|
||||||
|
|
||||||
Set-EnvironmentVariable "CC" "C:\utils\android-ndk-r16b\toolchains\llvm\prebuilt\linux-x86_64\bin\clang"
|
Set-EnvironmentVariable "CC" "C:\utils\Android\android-ndk-r18b\toolchains\llvm\prebuilt\windows\bin\clang"
|
||||||
Set-EnvironmentVariable "AR" "C:\utils\android-ndk-r16b\toolchains\llvm\prebuilt\linux-x86_64\bin\llvm-ar"
|
Set-EnvironmentVariable "AR" "C:\utils\Android\android-ndk-r18b\toolchains\llvm\prebuilt\windows\bin\llvm-ar"
|
||||||
Set-EnvironmentVariable "ANDROID_DEV" "C:\utils\android-ndk-r16b\platforms\android-18\arch-arm\usr"
|
Set-EnvironmentVariable "ANDROID_DEV" "C:\utils\Android\android-ndk-r18b\platforms\android-21\arch-arm\usr"
|
||||||
|
|
||||||
# Make sure configure for openssl has a "make" and "perl" available
|
# Make sure configure for openssl has a "make" and "perl" available
|
||||||
$env:PATH = $env:PATH + ";C:\msys\1.0\bin;C:\strawberry\perl\bin"
|
$env:PATH = $env:PATH + ";C:\msys\1.0\bin;C:\strawberry\perl\bin"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
@@ -40,23 +40,24 @@
|
|||||||
# That's why we need to use Andoid-21 API version in Qt 5.9.
|
# That's why we need to use Andoid-21 API version in Qt 5.9.
|
||||||
|
|
||||||
# NDK
|
# NDK
|
||||||
$ndkVersion = "r16b"
|
$ndkVersion = "r18b"
|
||||||
$ndkCachedUrl = "\\ci-files01-hki.intra.qt.io\provisioning\android\android-ndk-$ndkVersion-windows-x86.zip"
|
$ndkCachedUrl = "\\ci-files01-hki.intra.qt.io\provisioning\android\android-ndk-$ndkVersion-windows-x86.zip"
|
||||||
$ndkOfficialUrl = "https://dl.google.com/android/repository/android-ndk-$ndkVersion-windows-x86.zip"
|
$ndkOfficialUrl = "https://dl.google.com/android/repository/android-ndk-$ndkVersion-windows-x86.zip"
|
||||||
$ndkChecksum = "becaf3d445a4877ca1a9300a62f0934a4838c7fa"
|
$ndkChecksum = "4b8b6a4edc0fa967b429c1d6d25adf69acc28803"
|
||||||
$ndkFolder = "c:\utils\android-ndk-$ndkVersion"
|
$ndkFolder = "c:\Utils\Android\android-ndk-$ndkVersion"
|
||||||
$ndkZip = "c:\Windows\Temp\android_ndk_$ndkVersion.zip"
|
$ndkZip = "c:\Windows\Temp\android_ndk_$ndkVersion.zip"
|
||||||
|
|
||||||
# SDK
|
# SDK
|
||||||
$sdkVersion = "r24.4.1"
|
$toolsVersion = "26.1.1"
|
||||||
|
$toolsFile = "sdk-tools-windows-4333796.zip"
|
||||||
$sdkApi = "ANDROID_API_VERSION"
|
$sdkApi = "ANDROID_API_VERSION"
|
||||||
$sdkApiLevel = "android-21"
|
$sdkApiLevel = "android-21"
|
||||||
$sdkBuildToolsVersion = "23.0.3"
|
$sdkBuildToolsVersion = "28.0.3"
|
||||||
$sdkCachedUrl= "\\ci-files01-hki.intra.qt.io\provisioning\android\android-sdk_$sdkVersion-windows.zip"
|
$toolsCachedUrl= "\\ci-files01-hki.intra.qt.io\provisioning\android\$toolsFile"
|
||||||
$sdkOfficialUrl = "https://dl.google.com/android/android-sdk_$sdkVersion-windows.zip"
|
$toolsOfficialUrl = "https://dl.google.com/android/repository/$toolsFile"
|
||||||
$sdkChecksum = "66b6a6433053c152b22bf8cab19c0f3fef4eba49"
|
$toolsChecksum = "aa298b5346ee0d63940d13609fe6bec621384510"
|
||||||
$sdkFolder = "c:\utils\android-sdk-windows"
|
$toolsFolder = "c:\Utils\Android\tools"
|
||||||
$sdkZip = "c:\Windows\Temp\android_sdk_$sdkVersion.zip"
|
$sdkZip = "c:\Windows\Temp\$toolsFile"
|
||||||
|
|
||||||
function Install($1, $2, $3, $4) {
|
function Install($1, $2, $3, $4) {
|
||||||
$cacheUrl = $1
|
$cacheUrl = $1
|
||||||
@@ -66,41 +67,42 @@ function Install($1, $2, $3, $4) {
|
|||||||
|
|
||||||
Download $offcialUrl $cacheUrl $zip
|
Download $offcialUrl $cacheUrl $zip
|
||||||
Verify-Checksum $zip "$checksum"
|
Verify-Checksum $zip "$checksum"
|
||||||
Extract-7Zip $zip C:\Utils
|
Extract-7Zip $zip C:\Utils\Android
|
||||||
}
|
}
|
||||||
|
|
||||||
function SdkUpdate ($1, $2) {
|
Write-Host "Installing Android NDK $nkdVersion"
|
||||||
Write-Host "Running Android SDK update for $1..."
|
|
||||||
cmd /c "echo y |$1\tools\android update sdk --no-ui --all --filter $2"
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host "Installing Android ndk $nkdVersion"
|
|
||||||
Install $ndkCachedUrl $ndkZip $ndkChecksum $ndkOfficialUrl
|
Install $ndkCachedUrl $ndkZip $ndkChecksum $ndkOfficialUrl
|
||||||
Set-EnvironmentVariable "ANDROID_NDK_HOME" $ndkFolder
|
Set-EnvironmentVariable "ANDROID_NDK_HOME" $ndkFolder
|
||||||
Set-EnvironmentVariable "ANDROID_NDK_ROOT" $ndkFolder
|
Set-EnvironmentVariable "ANDROID_NDK_ROOT" $ndkFolder
|
||||||
|
|
||||||
#Write-Host "Installing Android sdk $sdkVersion"
|
Install $toolsCachedUrl $sdkZip $toolsChecksum $sdkOfficialUrl
|
||||||
Install $sdkCachedUrl $sdkZip $sdkChecksum $sdkOfficialUrl
|
Set-EnvironmentVariable "ANDROID_SDK_HOME" C:\Utils\Android
|
||||||
Set-EnvironmentVariable "ANDROID_SDK_HOME" $sdkFolder
|
|
||||||
Set-EnvironmentVariable "ANDROID_API_VERSION" $sdkApiLevel
|
Set-EnvironmentVariable "ANDROID_API_VERSION" $sdkApiLevel
|
||||||
|
|
||||||
# SDK update
|
if (IsProxyEnabled) {
|
||||||
SdkUpdate $sdkFolder $sdkApiLevel
|
$proxy = Get-Proxy
|
||||||
SdkUpdate $sdkFolder tools
|
Write-Host "Using proxy ($proxy) with sdkmanager"
|
||||||
SdkUpdate $sdkFolder platform-tools
|
# Remove "http://" from the beginning
|
||||||
SdkUpdate $sdkFolder build-tools-$sdkBuildToolsVersion
|
$proxy = $proxy.Remove(0,7)
|
||||||
|
$proxyhost,$proxyport = $proxy.split(':')
|
||||||
# kill adb. This process prevents provisioning to continue
|
$sdkmanager_args = "--no_https --proxy=http --proxy_host=`"$proxyhost`" --proxy_port=`"$proxyport`" "
|
||||||
$p = Get-Process -Name "adb" -ErrorAction:SilentlyContinue
|
|
||||||
if ($p -ne $null) {
|
|
||||||
Write-Host "Stopping adb.exe"
|
|
||||||
Stop-Process -Force $p
|
|
||||||
} else {
|
|
||||||
Write-Host "adb.exe not running"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Output "Android SDK tools= $sdkVersion" >> ~/versions.txt
|
New-Item -ItemType Directory -Force -Path C:\Utils\Android\licenses
|
||||||
|
$licenseString = "`nd56f5187479451eabf01fb78af6dfcb131a6481e"
|
||||||
|
Out-File -FilePath C:\Utils\Android\licenses\android-sdk-license -Encoding utf8 -InputObject $licenseString
|
||||||
|
|
||||||
|
# Get a PATH where Java's path is defined from previous provisioning
|
||||||
|
[Environment]::SetEnvironmentVariable("PATH", [Environment]::GetEnvironmentVariable("PATH", "Machine"), "Process")
|
||||||
|
|
||||||
|
$sdkmanager_args += " platforms;$sdkApiLevel tools platform-tools build-tools;$sdkBuildToolsVersion"
|
||||||
|
Run-Executable "$toolsFolder\bin\sdkmanager.bat" "$sdkmanager_args"
|
||||||
|
cd $toolsFolder\bin\
|
||||||
|
$command = 'for($i=0;$i -lt 6;$i++) { $response += "y`n"}; $response | .\sdkmanager.bat --licenses'
|
||||||
|
iex $command
|
||||||
|
cmd /c "dir C:\Utils\android"
|
||||||
|
|
||||||
|
Write-Output "Android SDK tools= $toolsVersion" >> ~/versions.txt
|
||||||
Write-Output "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
Write-Output "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
||||||
Write-Output "Android SDK Api Level = $sdkApiLevel" >> ~/versions.txt
|
Write-Output "Android SDK Api Level = $sdkApiLevel" >> ~/versions.txt
|
||||||
Write-Output "Android NDK = $ndkVersion" >> ~/versions.txt
|
Write-Output "Android NDK = $ndkVersion" >> ~/versions.txt
|
||||||
|
|
||||||
|
|||||||
13
coin/provisioning/common/windows/disable-quickedit.ps1
Normal file
13
coin/provisioning/common/windows/disable-quickedit.ps1
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Disabling cmd.exe and powershell QuickEdit && InsertMode
|
||||||
|
#
|
||||||
|
# These two can freeze console window on win10 sometimes
|
||||||
|
# manual recovery is pressing enter on console window
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
Run-Executable "reg.exe" "ADD `"HKEY_CURRENT_USER\Console`" /V QuickEdit /T REG_dWORD /D 0 /F"
|
||||||
|
Run-Executable "reg.exe" "ADD `"HKEY_CURRENT_USER\Console`" /V InsertMode /T REG_dWORD /D 0 /F"
|
||||||
|
Run-Executable "reg.exe" "ADD `"HKEY_CURRENT_USER\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe`" /V QuickEdit /T REG_dWORD /D 0 /F"
|
||||||
|
Run-Executable "reg.exe" "ADD `"HKEY_CURRENT_USER\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe`" /V InsertMode /T REG_dWORD /D 0 /F"
|
||||||
|
Run-Executable "reg.exe" "ADD `"HKEY_CURRENT_USER\Console\%SystemRoot%_SysWOW64_WindowsPowerShell_v1.0_powershell.exe`" /V QuickEdit /T REG_dWORD /D 0 /F"
|
||||||
|
Run-Executable "reg.exe" "ADD `"HKEY_CURRENT_USER\Console\%SystemRoot%_SysWOW64_WindowsPowerShell_v1.0_powershell.exe`" /V InsertMode /T REG_dWORD /D 0 /F"
|
||||||
@@ -1,11 +1,13 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$zip = Get-DownloadLocation "jom_1_1_2.zip"
|
$version = "1_1_2"
|
||||||
|
$zip = Get-DownloadLocation "jom_$version.zip"
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_2.zip -OutFile $zip
|
Download http://download.qt.io/official_releases/jom/jom_$version.zip http://ci-files01-hki.ci.local/input/windows/jom_$version.zip $zip
|
||||||
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
|
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
|
||||||
Extract-7Zip $zip C:\Utils\Jom
|
Extract-7Zip $zip C:\Utils\Jom
|
||||||
|
|
||||||
Set-EnvironmentVariable "CI_JOM_PATH" "C:\Utils\Jom"
|
Set-EnvironmentVariable "CI_JOM_PATH" "C:\Utils\Jom"
|
||||||
|
|
||||||
Write-Output "Jom = 1.1.2" >> ~/versions.txt
|
$version = $version.replace('_','.')
|
||||||
|
Write-Output "Jom = $version" >> ~/versions.txt
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ param(
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$libclang_version="6.0"
|
$libclang_version="6.0"
|
||||||
|
Write-Output "libClang = $libclang_version" >> ~/versions.txt
|
||||||
|
|
||||||
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
|
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
|
||||||
# The Clang library (C-bindings), version 3.9 or higher is required for building.
|
# The Clang library (C-bindings), version 3.9 or higher is required for building.
|
||||||
@@ -13,6 +14,7 @@ $libclang_version="6.0"
|
|||||||
# Starting from Qt 5.11 QDoc requires Clang to parse C++
|
# Starting from Qt 5.11 QDoc requires Clang to parse C++
|
||||||
|
|
||||||
$baseDestination = "C:\Utils\libclang-" + $libclang_version + "-" + $toolchain
|
$baseDestination = "C:\Utils\libclang-" + $libclang_version + "-" + $toolchain
|
||||||
|
$libclang_version = $libclang_version -replace '["."]'
|
||||||
|
|
||||||
function install() {
|
function install() {
|
||||||
|
|
||||||
@@ -23,7 +25,6 @@ function install() {
|
|||||||
|
|
||||||
$zip = "c:\users\qt\downloads\libclang.7z"
|
$zip = "c:\users\qt\downloads\libclang.7z"
|
||||||
|
|
||||||
$libclang_version = $libclang_version -replace '["."]'
|
|
||||||
$script:OfficialUrl = "https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_$libclang_version-windows-$toolchain`_$archVer.7z"
|
$script:OfficialUrl = "https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_$libclang_version-windows-$toolchain`_$archVer.7z"
|
||||||
$script:CachedUrl = "http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_$libclang_version-windows-$toolchain`_$archVer.7z"
|
$script:CachedUrl = "http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_$libclang_version-windows-$toolchain`_$archVer.7z"
|
||||||
|
|
||||||
@@ -72,7 +73,6 @@ if ( $setDefault ) {
|
|||||||
Set-EnvironmentVariable "LLVM_INSTALL_DIR" ($baseDestination + "-_ARCH_")
|
Set-EnvironmentVariable "LLVM_INSTALL_DIR" ($baseDestination + "-_ARCH_")
|
||||||
}
|
}
|
||||||
Set-EnvironmentVariable ("LLVM_INSTALL_DIR_" + $toolchainSuffix) ($baseDestination + "-_ARCH_")
|
Set-EnvironmentVariable ("LLVM_INSTALL_DIR_" + $toolchainSuffix) ($baseDestination + "-_ARCH_")
|
||||||
Write-Output "libClang = $libclang_version" >> ~/versions.txt
|
|
||||||
|
|
||||||
if ( $libclang_version -eq "60" ) {
|
if ( $libclang_version -eq "60" ) {
|
||||||
# This is a hacked static build of libclang which requires special
|
# This is a hacked static build of libclang which requires special
|
||||||
|
|||||||
@@ -35,20 +35,21 @@
|
|||||||
$version = "11_2_2"
|
$version = "11_2_2"
|
||||||
$package = "C:\Windows\temp\opengl32sw.7z"
|
$package = "C:\Windows\temp\opengl32sw.7z"
|
||||||
$mesaOpenglSha1_64 = "b2ffa5f230a0caa2c2e0bb9a5398bcfb81a0e5d1"
|
$mesaOpenglSha1_64 = "b2ffa5f230a0caa2c2e0bb9a5398bcfb81a0e5d1"
|
||||||
$mesaOpenglUrl_64 = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-64-mesa_$version.7z"
|
$mesaOpenglUrl_64_cache = "http://ci-files01-hki.intra.qt.io/input/windows/opengl32sw-64-mesa_$version.7z"
|
||||||
|
$mesaOpenglUrl_64_alt = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-64-mesa_$version.7z"
|
||||||
$mesaOpenglSha1_32 = "e742e9d4e16b9c69b6d844940861d3ef1748356b"
|
$mesaOpenglSha1_32 = "e742e9d4e16b9c69b6d844940861d3ef1748356b"
|
||||||
$mesaOpenglUrl_32 = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32-mesa_$version.7z"
|
$mesaOpenglUrl_32_cache = "http://ci-files01-hki.intra.qt.io/input/windows/opengl32sw-32-mesa_$version.7z"
|
||||||
|
$mesaOpenglUrl_32_alt = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32-mesa_$version.7z"
|
||||||
|
|
||||||
function Extract-Mesa
|
function Extract-Mesa
|
||||||
{
|
{
|
||||||
Param (
|
Param (
|
||||||
[string]$downloadUrl,
|
[string]$downloadUrlCache,
|
||||||
|
[string]$downloadUrlAlt,
|
||||||
[string]$sha1,
|
[string]$sha1,
|
||||||
[string]$targetFolder
|
[string]$targetFolder
|
||||||
)
|
)
|
||||||
Write-Host "Installing Mesa from $downloadUrl to $targetFolder"
|
Download $downloadUrlAlt $downloadUrlCache $package
|
||||||
Write-Host "Downloading $downloadUrl to $package"
|
|
||||||
Invoke-WebRequest -UseBasicParsing $downloadUrl -OutFile $package
|
|
||||||
Verify-Checksum $package $sha1
|
Verify-Checksum $package $sha1
|
||||||
Extract-7Zip $package $targetFolder
|
Extract-7Zip $package $targetFolder
|
||||||
Write-Host "Removing $package"
|
Write-Host "Removing $package"
|
||||||
@@ -56,10 +57,10 @@ function Extract-Mesa
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Is64BitWinHost) {
|
if (Is64BitWinHost) {
|
||||||
Extract-Mesa $mesaOpenglUrl_64 $mesaOpenglSha1_64 "C:\Windows\System32"
|
Extract-Mesa $mesaOpenglUrl_64_cache $mesaOpenglUrl_64_alt $mesaOpenglSha1_64 "C:\Windows\System32"
|
||||||
Extract-Mesa $mesaOpenglUrl_32 $mesaOpenglSha1_32 "C:\Windows\SysWOW64"
|
Extract-Mesa $mesaOpenglUrl_32_cache $mesaOpenglUrl_32_alt $mesaOpenglSha1_32 "C:\Windows\SysWOW64"
|
||||||
} else {
|
} else {
|
||||||
Extract-Mesa $mesaOpenglUrl_32 $mesaOpenglSha1_32 "C:\Windows\system32"
|
Extract-Mesa $mesaOpenglUrl_32_cache $mesaOpenglUrl_32_alt $mesaOpenglSha1_32 "C:\Windows\system32"
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Output "Mesa llvmpipe = $version" >> ~/versions.txt
|
Write-Output "Mesa llvmpipe = $version" >> ~/versions.txt
|
||||||
|
|||||||
4
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/01-disable-mlocate.sh
Executable file
4
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/01-disable-mlocate.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
BASEDIR=$(dirname "$0")
|
||||||
|
# shellcheck source=../common/linux/disable-mlocate.sh
|
||||||
|
"$BASEDIR/../common/linux/disable-mlocate.sh"
|
||||||
4
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/01-disable-mlocate.sh
Executable file
4
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/01-disable-mlocate.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
BASEDIR=$(dirname "$0")
|
||||||
|
# shellcheck source=../common/linux/disable-mlocate.sh
|
||||||
|
"$BASEDIR/../common/linux/disable-mlocate.sh"
|
||||||
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86/01-disable-cracklib.sh
Executable file
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86/01-disable-cracklib.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/disable-cracklib.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/disable-cracklib.sh"
|
||||||
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86/01-disable-mlocate.sh
Executable file
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86/01-disable-mlocate.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
BASEDIR=$(dirname "$0")
|
||||||
|
# shellcheck source=../common/linux/disable-mlocate.sh
|
||||||
|
"$BASEDIR/../common/linux/disable-mlocate.sh"
|
||||||
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86/01-remove_update-manager
Executable file
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86/01-remove_update-manager
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/remove_update-manager.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/remove_update-manager.sh"
|
||||||
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-disable-cracklib.sh
Executable file
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-disable-cracklib.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/disable-cracklib.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/disable-cracklib.sh"
|
||||||
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-disable-mlocate.sh
Executable file
4
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-disable-mlocate.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
BASEDIR=$(dirname "$0")
|
||||||
|
# shellcheck source=../common/linux/disable-mlocate.sh
|
||||||
|
"$BASEDIR/../common/linux/disable-mlocate.sh"
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/remove_update-manager.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/remove_update-manager.sh"
|
||||||
@@ -161,6 +161,17 @@ installPackages+=(dkms)
|
|||||||
#Pypdf for QSR documentation
|
#Pypdf for QSR documentation
|
||||||
installPackages+=(python-pypdf2)
|
installPackages+=(python-pypdf2)
|
||||||
|
|
||||||
|
sudo tee "/etc/apt/sources.list" > /dev/null <<-EOC
|
||||||
|
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial main restricted universe multiverse
|
||||||
|
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-updates main restricted universe multiverse
|
||||||
|
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-backports main restricted universe
|
||||||
|
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-security main restricted universe multiverse
|
||||||
|
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial main restricted universe multiverse
|
||||||
|
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-updates main restricted universe multiverse
|
||||||
|
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-backports main restricted universe
|
||||||
|
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-security main restricted universe multiverse
|
||||||
|
EOC
|
||||||
|
|
||||||
echo "Running update for apt"
|
echo "Running update for apt"
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
echo "Installing packages"
|
echo "Installing packages"
|
||||||
@@ -171,10 +182,3 @@ pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../common/share
|
|||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||||
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|
||||||
|
|
||||||
sudo tee "/etc/apt/sources.list" > /dev/null <<-EOC
|
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial main restricted universe multiverse
|
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-updates main restricted universe multiverse
|
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-backports main restricted universe
|
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-security main restricted universe multiverse
|
|
||||||
EOC
|
|
||||||
|
|||||||
@@ -44,6 +44,19 @@ for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-dai
|
|||||||
sudo systemctl stop $service
|
sudo systemctl stop $service
|
||||||
sudo systemctl disable $service
|
sudo systemctl disable $service
|
||||||
done
|
done
|
||||||
|
|
||||||
|
function set_internal_repo {
|
||||||
|
sudo tee "/etc/apt/sources.list" > /dev/null <<-EOC
|
||||||
|
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ bionic main restricted universe multiverse
|
||||||
|
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ bionic main restricted universe multiverse
|
||||||
|
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ bionic-updates main restricted universe multiverse
|
||||||
|
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ bionic-backports main restricted universe
|
||||||
|
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ bionic-security main restricted universe multiverse
|
||||||
|
EOC
|
||||||
|
}
|
||||||
|
|
||||||
|
(ping -c 3 repo-clones.ci.qt.io && set_internal_repo) || echo "Internal package repository not found. Using public repositories."
|
||||||
|
|
||||||
# Git is not needed by builds themselves, but is nice to have
|
# Git is not needed by builds themselves, but is nice to have
|
||||||
# immediately as one starts debugging
|
# immediately as one starts debugging
|
||||||
installPackages+=(git)
|
installPackages+=(git)
|
||||||
@@ -145,12 +158,12 @@ installPackages+=(dkms)
|
|||||||
# Needed for qtspeech
|
# Needed for qtspeech
|
||||||
installPackages+=(libspeechd-dev)
|
installPackages+=(libspeechd-dev)
|
||||||
|
|
||||||
echo "Installing packages"
|
|
||||||
waitLoop
|
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
|
|
||||||
echo "Running update for apt"
|
echo "Running update for apt"
|
||||||
waitLoop
|
waitLoop
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
echo "Installing packages"
|
||||||
|
waitLoop
|
||||||
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
|
||||||
|
|
||||||
# Install all needed packages in a special wheel cache directory
|
# Install all needed packages in a special wheel cache directory
|
||||||
pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../common/shared/requirements.txt
|
pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../common/shared/requirements.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
@@ -33,25 +33,6 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# This script installs QNX 7.
|
set -ex
|
||||||
|
|
||||||
targetFolder="/opt/"
|
|
||||||
sourceFile="/net/ci-files01-hki.intra.qt.io/hdd/www/input/qnx/qnx700-20180801-macos.zip"
|
|
||||||
folderName="qnx700"
|
|
||||||
|
|
||||||
sudo mkdir -p "$targetFolder"
|
|
||||||
|
|
||||||
echo "Extracting QNX 7"
|
|
||||||
sudo unzip -q "$sourceFile" -d "$targetFolder"
|
|
||||||
|
|
||||||
sudo chown -R qt:wheel "$targetFolder"/"$folderName"
|
|
||||||
|
|
||||||
# Verify that we have last file in zip
|
|
||||||
if [ ! -f $targetFolder/$folderName/qnxsdp-env.sh ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set env variables
|
|
||||||
echo "export QNX_700=$targetFolder/$folderName" >> ~/.bashrc
|
|
||||||
echo "QNX SDP = 7.0.0" >> ~/versions.txt
|
|
||||||
|
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/emsdk.sh"
|
||||||
@@ -87,3 +87,5 @@ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resourc
|
|||||||
|
|
||||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
||||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
|
|
||||||
|
sudo systemsetup settimezone GMT
|
||||||
|
|||||||
@@ -87,3 +87,5 @@ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resourc
|
|||||||
|
|
||||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
||||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
|
|
||||||
|
sudo systemsetup settimezone GMT
|
||||||
|
|||||||
@@ -50,4 +50,4 @@ set -ex
|
|||||||
# shellcheck source=../common/macos/install_xcode.sh
|
# shellcheck source=../common/macos/install_xcode.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
|
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
|
||||||
|
|
||||||
InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_9.4.1.tar.gz 9.4.1
|
InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_10.tar.gz 10.0.0
|
||||||
|
|||||||
@@ -37,10 +37,10 @@ set -ex
|
|||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
|
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
|
||||||
|
|
||||||
version="9.4.1"
|
version="10.0.0"
|
||||||
packageName="Command_Line_Tools_macOS_10.13_for_Xcode_$version.dmg"
|
packageName="Command_Line_Tools_macOS_10.13_for_Xcode_$version.dmg"
|
||||||
url="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.13_high_sierra/$packageName"
|
url="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.13_high_sierra/$packageName"
|
||||||
sha1="efe51c11c2c99a5f1a98bbd3772dc3fa3ce78904"
|
sha1="1d6abe29b8df6397c179b8e2ffbfd0293f1282b0"
|
||||||
|
|
||||||
InstallCommandLineTools $url $url $sha1 $packageName $version
|
InstallCommandLineTools $url $url $sha1 $packageName $version
|
||||||
|
|
||||||
|
|||||||
@@ -47,15 +47,15 @@ sdkTargetFolder="$targetFolder/sdk"
|
|||||||
|
|
||||||
basePath="/net/ci-files01-hki.intra.qt.io/hdd/www/input/android"
|
basePath="/net/ci-files01-hki.intra.qt.io/hdd/www/input/android"
|
||||||
|
|
||||||
toolsVersion="r25.2.5"
|
toolsVersion="r26.1.1"
|
||||||
toolsFile="tools_$toolsVersion-macosx.zip"
|
toolsFile="sdk-tools-darwin-4333796.zip"
|
||||||
ndkVersion="r16b"
|
ndkVersion="r18b"
|
||||||
ndkFile="android-ndk-$ndkVersion-darwin-x86_64.zip"
|
ndkFile="android-ndk-$ndkVersion-darwin-x86_64.zip"
|
||||||
sdkBuildToolsVersion="25.0.2"
|
sdkBuildToolsVersion="28.0.3"
|
||||||
sdkApiLevel="android-21"
|
sdkApiLevel="android-21"
|
||||||
|
|
||||||
toolsSha1="d2168d963ac5b616e3d3ddaf21511d084baf3659"
|
toolsSha1="ed85ea7b59bc3483ce0af4c198523ba044e083ad"
|
||||||
ndkSha1="e51e615449b98c716cf912057e2682e75d55e2de"
|
ndkSha1="98cb9909aa8c2dab32db188bbdc3ac6207e09440"
|
||||||
|
|
||||||
toolsTargetFile="/tmp/$toolsFile"
|
toolsTargetFile="/tmp/$toolsFile"
|
||||||
toolsSourceFile="$basePath/$toolsFile"
|
toolsSourceFile="$basePath/$toolsFile"
|
||||||
@@ -73,6 +73,9 @@ sudo chown -R qt:wheel "$targetFolder"
|
|||||||
echo "Running SDK manager for platforms;$sdkApiLevel, tools, platform-tools and build-tools;$sdkBuildToolsVersion."
|
echo "Running SDK manager for platforms;$sdkApiLevel, tools, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||||
(echo "y"; echo "y") |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
(echo "y"; echo "y") |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||||
|
|
||||||
|
echo "Checking the contents of Android SDK..."
|
||||||
|
ls -l "$sdkTargetFolder"
|
||||||
|
|
||||||
SetEnvVar "ANDROID_SDK_HOME" "$sdkTargetFolder"
|
SetEnvVar "ANDROID_SDK_HOME" "$sdkTargetFolder"
|
||||||
SetEnvVar "ANDROID_NDK_HOME" "$targetFolder/android-ndk-$ndkVersion"
|
SetEnvVar "ANDROID_NDK_HOME" "$targetFolder/android-ndk-$ndkVersion"
|
||||||
SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
|
SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
|
||||||
|
|||||||
@@ -62,13 +62,13 @@ Install "$cache/semisecure/.qt-license" "$targetFolder/.qt-license" $sha1QtLicen
|
|||||||
# Login keychain
|
# Login keychain
|
||||||
sha1LoginKeychainPassword="aae58d00d0a1b179a09f21cfc67f9d16fb95ff36"
|
sha1LoginKeychainPassword="aae58d00d0a1b179a09f21cfc67f9d16fb95ff36"
|
||||||
Install "$cacheSigningTools/login_keychain_password.txt" "$targetFolder/login_keychain_password.txt" "$sha1LoginKeychainPassword"
|
Install "$cacheSigningTools/login_keychain_password.txt" "$targetFolder/login_keychain_password.txt" "$sha1LoginKeychainPassword"
|
||||||
loginKeychainPassword=$(<"$targetFolder/login_keychain_password.txt")
|
{ loginKeychainPassword=$(<"$targetFolder/login_keychain_password.txt"); } 2> /dev/null
|
||||||
loginKeychain=$keychains/login.keychain
|
loginKeychain=$keychains/login.keychain
|
||||||
|
|
||||||
echo "Setting login.keychain as default keychain.."
|
echo "Setting login.keychain as default keychain.."
|
||||||
security default-keychain -s $loginKeychain*
|
security default-keychain -s $loginKeychain*
|
||||||
echo "Unlocking Login keychain with password.."
|
echo "Unlocking Login keychain with password.."
|
||||||
security unlock-keychain -p "$loginKeychainPassword" $loginKeychain*
|
{ security unlock-keychain -p "$loginKeychainPassword" $loginKeychain*; } 2> /dev/null
|
||||||
|
|
||||||
echo "remove the "Lock after X minutes of inactivity" from login.keychain"
|
echo "remove the "Lock after X minutes of inactivity" from login.keychain"
|
||||||
security set-keychain-settings $loginKeychain
|
security set-keychain-settings $loginKeychain
|
||||||
@@ -86,7 +86,7 @@ sudo security add-certificates -k $loginKeychain* "$targetFolder/DeveloperIDCA.c
|
|||||||
# Create script to unlock keychain 'security unlock-keychain -p 'password' Developer_ID_TheQtCompany.keychain'
|
# Create script to unlock keychain 'security unlock-keychain -p 'password' Developer_ID_TheQtCompany.keychain'
|
||||||
sha1UnLockKeychain="4398870e3f558ad28c80566b5f70e24dc29ea724"
|
sha1UnLockKeychain="4398870e3f558ad28c80566b5f70e24dc29ea724"
|
||||||
unlockKeychain=$targetFolder/unlock-keychain.sh
|
unlockKeychain=$targetFolder/unlock-keychain.sh
|
||||||
Install "$cacheSigningTools/unlock-keychain.sh" "$unlockKeychain" $sha1UnLockKeychain
|
{ Install "$cacheSigningTools/unlock-keychain.sh" "$unlockKeychain" $sha1UnLockKeychain; } 2> /dev/null
|
||||||
sudo chmod 755 "$unlockKeychain"
|
sudo chmod 755 "$unlockKeychain"
|
||||||
|
|
||||||
# Codesigning requirements file. The bundle identifier in the requirements file should match the identifier of the application that is signed.
|
# Codesigning requirements file. The bundle identifier in the requirements file should match the identifier of the application that is signed.
|
||||||
@@ -104,27 +104,27 @@ open "$keychains/$devIDKeychain"
|
|||||||
|
|
||||||
sha1DeveloperIDTheQtCompanyKeychainPassword="d758e067736bbda7a91ffaec66cd38afdaf68ea6"
|
sha1DeveloperIDTheQtCompanyKeychainPassword="d758e067736bbda7a91ffaec66cd38afdaf68ea6"
|
||||||
Install "$cacheSigningTools/Developer_ID_TheQtCompany_keychain_password.txt" "$targetFolder/Developer_ID_TheQtCompany_keychain_password.txt" "$sha1DeveloperIDTheQtCompanyKeychainPassword"
|
Install "$cacheSigningTools/Developer_ID_TheQtCompany_keychain_password.txt" "$targetFolder/Developer_ID_TheQtCompany_keychain_password.txt" "$sha1DeveloperIDTheQtCompanyKeychainPassword"
|
||||||
DeveloperIDTheQtCompanyKeychainPassword=$(<"$targetFolder/Developer_ID_TheQtCompany_keychain_password.txt")
|
{ DeveloperIDTheQtCompanyKeychainPassword=$(<"$targetFolder/Developer_ID_TheQtCompany_keychain_password.txt"); } 2> /dev/null
|
||||||
|
|
||||||
echo "Unlocking $devIDKeychain with password.."
|
echo "Unlocking $devIDKeychain with password.."
|
||||||
security unlock-keychain -p "$DeveloperIDTheQtCompanyKeychainPassword" $keychains/Developer_ID_TheQtCompany.keychain
|
{ security unlock-keychain -p "$DeveloperIDTheQtCompanyKeychainPassword" $keychains/Developer_ID_TheQtCompany.keychain; } 2> /dev/null
|
||||||
security set-keychain-settings $keychains/Developer_ID_TheQtCompany.keychain
|
security set-keychain-settings $keychains/Developer_ID_TheQtCompany.keychain
|
||||||
|
|
||||||
sha1Ios="aae58d00d0a1b179a09f21cfc67f9d16fb95ff36"
|
sha1Ios="aae58d00d0a1b179a09f21cfc67f9d16fb95ff36"
|
||||||
Install "$cacheSigningTools/ios_password.txt" "$targetFolder/ios_password.txt" $sha1Ios
|
{ Install "$cacheSigningTools/ios_password.txt" "$targetFolder/ios_password.txt" $sha1Ios; } 2> /dev/null
|
||||||
iosPassword=$(<"$targetFolder/ios_password.txt")
|
{ iosPassword=$(<"$targetFolder/ios_password.txt"); } 2> /dev/null
|
||||||
|
|
||||||
iPhoneDeveloper="iosdevelopment.p12"
|
iPhoneDeveloper="iosdevelopment.p12"
|
||||||
shaIPhoneDeveloper="f48f6827e8d0ccdc764cb987e401b9a6f7d3f10c"
|
shaIPhoneDeveloper="f48f6827e8d0ccdc764cb987e401b9a6f7d3f10c"
|
||||||
Install "$cacheSigningTools/latest_ios_cert/$iPhoneDeveloper" "$targetFolder/$iPhoneDeveloper" $shaIPhoneDeveloper
|
Install "$cacheSigningTools/latest_ios_cert/$iPhoneDeveloper" "$targetFolder/$iPhoneDeveloper" $shaIPhoneDeveloper
|
||||||
echo "Importing $iPhoneDeveloper.."
|
echo "Importing $iPhoneDeveloper.."
|
||||||
security import $targetFolder/$iPhoneDeveloper -k $loginKeychain* -P $iosPassword -T /usr/bin/codesign
|
{ security import $targetFolder/$iPhoneDeveloper -k $loginKeychain* -P $iosPassword -T /usr/bin/codesign; } 2> /dev/null
|
||||||
|
|
||||||
iPhoneDistribution="iosdistribution.p12"
|
iPhoneDistribution="iosdistribution.p12"
|
||||||
shaIPhoneDistribution="64b1174fc3ce0eca044fbc9fa144f6a2d4330171"
|
shaIPhoneDistribution="64b1174fc3ce0eca044fbc9fa144f6a2d4330171"
|
||||||
Install "$cacheSigningTools/latest_ios_cert/$iPhoneDistribution" "$targetFolder/$iPhoneDistribution" $shaIPhoneDistribution
|
Install "$cacheSigningTools/latest_ios_cert/$iPhoneDistribution" "$targetFolder/$iPhoneDistribution" $shaIPhoneDistribution
|
||||||
echo "Importing $iPhoneDistribution.."
|
echo "Importing $iPhoneDistribution.."
|
||||||
security import "$targetFolder/$iPhoneDistribution" -k $loginKeychain* -P $iosPassword -T /usr/bin/codesign
|
{ security import "$targetFolder/$iPhoneDistribution" -k $loginKeychain* -P $iosPassword -T /usr/bin/codesign; } 2> /dev/null
|
||||||
|
|
||||||
# Mobileprovision
|
# Mobileprovision
|
||||||
echo "Creating directory $targetFolder/Library/MobileDevice/Provisioning Profiles.."
|
echo "Creating directory $targetFolder/Library/MobileDevice/Provisioning Profiles.."
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\windows\disable-quickedit.ps1"
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\windows\disable-quickedit.ps1"
|
||||||
1
coin/provisioning/qtci-windows-7-x86/08-libclang.ps1
Normal file
1
coin/provisioning/qtci-windows-7-x86/08-libclang.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\windows\libclang.ps1" 32 mingw
|
||||||
12
qt.pro
12
qt.pro
@@ -1,7 +1,13 @@
|
|||||||
# Create the super cache so modules will add themselves to it.
|
# Create the super cache so modules will add themselves to it.
|
||||||
# Also suppress the license check on subsequent "visits". The first
|
cache(, super)
|
||||||
# visit will skip it anyway due to not having a compiler set up yet.
|
|
||||||
cache(CONFIG, add super, $$list(QTDIR_build))
|
# Suppress the license check on subsequent "visits". The first
|
||||||
|
# visit will skip it anyway due to not having a compiler set up
|
||||||
|
# yet. This cannot be added to the super cache, because that is
|
||||||
|
# read before spec_pre.prf, which flushes CONFIG. This does not
|
||||||
|
# affect submodules, as they come with a .qmake.conf. But that
|
||||||
|
# one sets the flag via qt_build_config.prf anyway.
|
||||||
|
!QTDIR_build: cache(CONFIG, add, $$list(QTDIR_build))
|
||||||
|
|
||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
|
|||||||
2
qt3d
2
qt3d
Submodule qt3d updated: dca07bf5b8...3d75a66c29
Submodule qtactiveqt updated: 9f68ebfd21...371c0e8389
Submodule qtandroidextras updated: 467eacf0a0...b2e2e76b1e
2
qtbase
2
qtbase
Submodule qtbase updated: 9d1c881f49...c6c31b14a7
Submodule qtcanvas3d updated: 5119cd5caa...8e097e44aa
2
qtcharts
2
qtcharts
Submodule qtcharts updated: efb38adac6...bd9f0b2716
Submodule qtconnectivity updated: af07a801cb...26840646bb
Submodule qtdatavis3d updated: 7320188f25...12d9593dae
Submodule qtdeclarative updated: 49c9a5fbdb...6734ee9a6d
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 08af1635e9...e8422196ce
Submodule qtgamepad updated: 03b5dd34e0...7da78510f8
Submodule qtimageformats updated: c2cb9d2866...4783c6dc44
Submodule qtlocation updated: 9e1523f40c...0cdf4748dd
Submodule qtmacextras updated: 41f3e8a4d2...b8b7809d2a
Submodule qtmultimedia updated: 1ca79e8645...30cbbd98e7
Submodule qtnetworkauth updated: a8765e4e37...0930d394d7
Submodule qtpurchasing updated: cb92e43761...21927fdbdb
2
qtqa
2
qtqa
Submodule qtqa updated: 711ef5a161...184d74f49c
Submodule qtquickcontrols updated: 1056eb37c9...c345d1ddf6
Submodule qtquickcontrols2 updated: e8c619517b...2876332ad9
Submodule qtremoteobjects updated: e43c9fe03e...09a6746ec6
2
qtscript
2
qtscript
Submodule qtscript updated: 42742b8472...9b0fcf7943
2
qtscxml
2
qtscxml
Submodule qtscxml updated: b2dbb4ba78...d5396ed005
Submodule qtsensors updated: 5872f9c948...76f3abf8e0
Submodule qtserialbus updated: 4d1f916efb...43a65b661f
Submodule qtserialport updated: c5ffb2ab8f...a61ed3bce7
2
qtspeech
2
qtspeech
Submodule qtspeech updated: cf58c73fb6...f12d672141
2
qtsvg
2
qtsvg
Submodule qtsvg updated: c2edcd013a...588dbd7a68
2
qttools
2
qttools
Submodule qttools updated: 1410f2cf5c...54e8925e09
Submodule qttranslations updated: bb5f0ac724...915095f639
Submodule qtvirtualkeyboard updated: eced023cca...8f88166686
Submodule qtwayland updated: f669fc9749...4a328e3533
Submodule qtwebengine updated: c91bba7af3...e77ed6f168
Submodule qtwebglplugin updated: b6fcf62d48...e14f45692d
Submodule qtwebsockets updated: 02db65bebc...247373d650
Submodule qtwebview updated: cd0814a243...eea4b92dbb
Submodule qtwinextras updated: 48b4b562a2...5e04d2d9d9
Submodule qtxmlpatterns updated: d5762832ea...7df0037316
Reference in New Issue
Block a user