mirror of
git://code.qt.io/qt/qt5.git
synced 2026-07-10 00:27:26 +08:00
For scripted auto-execution all shell scripts in provisioning need to
be executbale. Most are, but some have been forgotten.
Make the remaining ones executable.
Fixes: QTQAINFRA-7905
Change-Id: I663aeb6c04f2b9d8049d21a75966369b15fe6d29
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit a377574e66)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
28 lines
960 B
Bash
Executable File
28 lines
960 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (C) 2026 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
|
|
#
|
|
# Install OpenSSL headers into the OHOS vcpkg installed directory.
|
|
# Qt for HarmonyOS uses -openssl-runtime, so only headers are needed at build
|
|
# time. The headers come from the Qt ohos-openssl fork.
|
|
|
|
set -e
|
|
|
|
if [ -z "$VCPKG_OHOS_INSTALLED" ]; then
|
|
echo "ERROR: VCPKG_OHOS_INSTALLED not set. Run install-vcpkg-ports-ohos.sh first." >&2
|
|
exit 1
|
|
fi
|
|
|
|
opensslRepo="https://git.qt.io/jobor/ohos-openssl.git"
|
|
opensslTmpDir="/tmp/ohos-openssl"
|
|
|
|
echo "Installing OpenSSL headers for OHOS"
|
|
rm -rf "$opensslTmpDir"
|
|
git clone --depth 1 "$opensslRepo" "$opensslTmpDir"
|
|
|
|
mkdir -p "$VCPKG_OHOS_INSTALLED/include/openssl"
|
|
cp "$opensslTmpDir"/include/openssl/*.h "$VCPKG_OHOS_INSTALLED/include/openssl/"
|
|
rm -rf "$opensslTmpDir"
|
|
|
|
echo "OpenSSL headers installed to $VCPKG_OHOS_INSTALLED/include/openssl"
|