mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-09 00:16:55 +08:00
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.
Task-number: QTBUG-67283
Task-number: QTBUG-108364
Change-Id: If26e4d35c780db4a7982bb84872b251dad24716e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit eecfb19548)
21 lines
670 B
PowerShell
21 lines
670 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.24.7z"
|
|
|
|
$libusb_location = "C:\Utils\libusb-1.0"
|
|
|
|
Copy-Item \\ci-files01-hki.intra.qt.io\provisioning\libusb-1.0\libusb-1.0.24.7z $archive
|
|
Verify-Checksum $archive "1ACAAD5C8F5190A10958867101A5FEEF1FFA1CD8"
|
|
|
|
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.24" >> ~/versions.txt
|