Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99894

Universal binary (x86_64 & arm64) macOS applications loop file dialog permission requests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.1, 6.2.2
    • None
    • macOS Monterey 12.1—MacBook Air (M1, 2020)
    • macOS

    Description

      When compiling a universal binary using QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64", opening a file dialog in the compiled application and attempting to access the Downloads, Documents, or Desktop folder causes the following dialog to repeatedly appear:

      The issue is absent on regular arm64 and x86_64 builds. It is unconfirmed but I have only received reports from users on M1/arm64 systems.

      This issue seems to occur when using CMake as well as QMake.

      Giving full disk access or folder access in system preferences beforehand does not fix the issue—the settings are reset and the dialog reappears.

      The amount of times the dialog appears seems to be random too—sometimes it goes away relatively quickly.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            jurplel Benjamin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes