mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-28 01:16:47 +08:00
Add support for arm64. Static libusb binaries packaged from vcpkg builds with MSVC2019. Task-number: QTBUG-117504 Pick-to: 6.6 6.5 Change-Id: I0ec4bc6eb2976f22e94533d91b8e1ff9af020e57 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
21 lines
667 B
PowerShell
21 lines
667 B
PowerShell
# Copyright (C) 2017 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
# libusb-1.0 is needed by qt-apps/qdb
|
|
|
|
. "$PSScriptRoot\helpers.ps1"
|
|
|
|
$archive = Get-DownloadLocation "libusb-1.0.26.7z"
|
|
|
|
$libusb_location = "C:\Utils\libusb-1.0"
|
|
|
|
Copy-Item \\ci-files01-hki.ci.qt.io\provisioning\libusb-1.0\libusb-1.0.26.7z $archive
|
|
Verify-Checksum $archive "89b50c7d6085350ed809a12b19131ff4f608b2f2"
|
|
|
|
Extract-7Zip $archive $libusb_location
|
|
|
|
# Tell qt-apps/qdb build system where to find libusb
|
|
Set-EnvironmentVariable "LIBUSB_PATH" $libusb_location
|
|
|
|
Write-Output "libusb = libusb-1.0.26" >> ~/versions.txt
|