mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-29 09:56:43 +08:00
Compare commits
8 Commits
v5.12.0-be
...
v5.12.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
061cf1f2ca | ||
|
|
820a1fbe7c | ||
|
|
07b6c0554b | ||
|
|
efb253f031 | ||
|
|
84aaa89cf4 | ||
|
|
6c624aa570 | ||
|
|
829447d340 | ||
|
|
092b611d80 |
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -39,33 +39,21 @@ set -ex
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
fileName="fbx20161_2_fbxsdk_clang_mac.pkg.tgz"
|
||||
targetFolder="/opt/fbx"
|
||||
version="2016.1.2"
|
||||
fileName="fbx20161_2_fbxsdk_clang_mac.pkg_nospace.tgz"
|
||||
cachedUrl="/net/ci-files01-hki.intra.qt.io/hdd/www/input/fbx/$fileName"
|
||||
officialUrl="http://download.autodesk.com/us/fbx_release_older/2016.1.2/$fileName"
|
||||
sha1="f82535423c700c605320c52e13e781c92208ec6b"
|
||||
# officialUrl="http://download.autodesk.com/us/fbx_release_older/$version/fbx20161_2_fbxsdk_clang_mac.pkg.tgz"
|
||||
targetFolder="/tmp"
|
||||
targetFile="$targetFolder/$fileName"
|
||||
installer="$targetFolder/fbx20161_2_fbxsdk_clang_macos.pkg"
|
||||
|
||||
echo "Extracting '$cachedUrl'"
|
||||
tar -xzf "$cachedUrl" -C "$targetFolder" || (
|
||||
echo "Failed to uncompress from '$cachedUrl'"
|
||||
echo "Downloading from '$officialUrl'"
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$officialUrl"
|
||||
echo "Checking SHA1 on PKG '$targetFile'"
|
||||
echo "$sha1 *$targetFile" > $targetFile.sha1
|
||||
shasum --check $targetFile.sha1
|
||||
echo "Extracting '$targetFile'"
|
||||
tar -xzf "$targetFile" -C "$targetFolder"
|
||||
)
|
||||
tar -xzf "$cachedUrl" -C "$targetFolder"
|
||||
|
||||
rm -rf "$targetFile"
|
||||
echo "Running installer for '$installer'"
|
||||
sudo installer -pkg "$installer" -target "/"
|
||||
rm -rf "$targetFolder/$fileName"
|
||||
echo "Copying preinstalled FBX SDK to Applications"
|
||||
sudo cp -r "$targetFolder/Autodesk" /Applications
|
||||
|
||||
# Set env variables
|
||||
SetEnvVar "FBXSDK" "/Applications/Autodesk/FBX\ SDK/2016.1.2/"
|
||||
SetEnvVar "FBXSDK" "/Applications/Autodesk/FBXSDK/2016.1.2/"
|
||||
|
||||
echo "FBX SDK = 2016.1.2" >> ~/versions.txt
|
||||
|
||||
|
||||
@@ -37,11 +37,11 @@
|
||||
|
||||
$version = "2016.1.2"
|
||||
|
||||
$name = "fbx20161_2_fbxsdk_vs2015_win"
|
||||
$name = "fbx20161_2_fbxsdk_vs2015_win_nospace"
|
||||
$packageName = "$name.7z"
|
||||
$installerName = "$name.exe"
|
||||
$cacheUrl = "\\ci-files01-hki.intra.qt.io\provisioning\fbx\$packageName"
|
||||
$sha1 = "3690400625672bef6369bcf90dcde4d78b493b24"
|
||||
$sha1 = "de80edc255ffd5ce86ba25869dad72b4c809fd41"
|
||||
|
||||
# The executable is an interactive installer only. We can't run it in a script silently.
|
||||
# $officialUrl = "http://download.autodesk.com/us/fbx_release_older/2016.1.2/$installerName"
|
||||
@@ -49,7 +49,7 @@ $sha1 = "3690400625672bef6369bcf90dcde4d78b493b24"
|
||||
# $sha1 = "54f581c7c19cf5a08cf5e7bc62b8cc7f0617558e"
|
||||
|
||||
#$targetFile = "C:\Windows\Temp\$packageName"
|
||||
$targetFolder = "C:\Program Files\"
|
||||
$targetFolder = "C:\Utils\"
|
||||
|
||||
#Write-Host "Downloading '$installerName'"
|
||||
#Download $officialUrl $cacheUrl $targetFile
|
||||
@@ -60,7 +60,7 @@ Extract-7Zip $cacheUrl $targetFolder
|
||||
|
||||
#Remove-Item -Recurse -Force "$packageName"
|
||||
|
||||
Set-EnvironmentVariable "FBXSDK" "$targetFolder\Autodesk\FBX\FBX SDK\2016.1.2"
|
||||
Set-EnvironmentVariable "FBXSDK" "$targetFolder\Autodesk\FBX\FBX_SDK\2016.1.2"
|
||||
|
||||
Write-Output "FBX SDK = $version" >> ~\versions.txt
|
||||
|
||||
|
||||
2
qt3d
2
qt3d
Submodule qt3d updated: 6a764d2164...3e799636b2
Submodule qtactiveqt updated: 371c0e8389...92b453c705
Submodule qtandroidextras updated: b2e2e76b1e...a987d9fd39
2
qtbase
2
qtbase
Submodule qtbase updated: d24835a60c...13ed06640c
Submodule qtcanvas3d updated: 8e097e44aa...124800ae8b
Submodule qtconnectivity updated: c2b510909d...79b0075219
Submodule qtdeclarative updated: 0477a057fd...64ee4968b4
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 9e30097015...1708e352f2
Submodule qtgamepad updated: 7da78510f8...2d93e66a5c
Submodule qtlocation updated: 563f6eb62f...dc761b9007
Submodule qtnetworkauth updated: 0930d394d7...f3ed24cc4b
2
qtqa
2
qtqa
Submodule qtqa updated: 184d74f49c...bf81b426ec
Submodule qtquickcontrols updated: 6356a11e07...7250a5c2f9
Submodule qtquickcontrols2 updated: 936d31179d...d3545dbdfd
Submodule qtremoteobjects updated: 040b2aa6c1...e4631d1a6a
2
qtscript
2
qtscript
Submodule qtscript updated: 9b0fcf7943...78be34c512
2
qtscxml
2
qtscxml
Submodule qtscxml updated: d5396ed005...1a05d2a375
Submodule qtsensors updated: 76f3abf8e0...cb7da3a16f
Submodule qtserialbus updated: 54262ed886...f5bcd1bc92
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 588dbd7a68...f0fe78d1af
2
qttools
2
qttools
Submodule qttools updated: 767f783d65...63f128103f
Submodule qtvirtualkeyboard updated: afcc82a95b...0966a84a2a
Submodule qtwayland updated: 6213738692...f890798053
Submodule qtwebchannel updated: 7ab88507fb...b06cbe3766
Submodule qtwebengine updated: 8eda96bc8a...a64ac50857
Submodule qtwebglplugin updated: c320888ff6...41d5d2c7ba
Submodule qtwebsockets updated: 247373d650...b148fb8181
Reference in New Issue
Block a user