mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-28 07:37:18 +08:00
coin: Give bootstrap-agent permission to use microphone on macOS
The bootstrap-agent is the 'responsible process' in TCC terms when it comes to whether a test should be allowed to access the microphone. https://www.qt.io/blog/the-curious-case-of-the-responsible-process By giving this process the permission explicitly, by modifying the TCC database, we ensure that all tests run as child processes also get this permission. Change-Id: Ia03084ac89f0717ac6457b0035769f4a9863495b Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
This commit is contained in:
6
coin/provisioning/qtci-macos-14-arm/01-set_tcc_permissions.sh
Executable file
6
coin/provisioning/qtci-macos-14-arm/01-set_tcc_permissions.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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
|
||||
|
||||
set -ex
|
||||
source "${BASH_SOURCE%/*}/../common/macos/set_tcc_permissions.sh"
|
||||
Reference in New Issue
Block a user