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

Cannot capture/record the screen on MacOS with Qt 6.6.0 due to permission denied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.0 Beta4
    • Multimedia
    • None
    • macOS

    Description

      MacOS 13.5.1 

      Qt Creator 11.0.3

      Steps to reproduce:

      1. Open any application that can capture/record the screen with Qt 6.6.0, e.g.:
        1. https://doc.qt.io/qt-6/qtmultimedia-screencapture-example.html
        2. https://doc.qt.io/qt-6/qtmultimedia-video-recorder-example.html 
      1. Run the application on MacOS

      Expected: Screen can be recorded/captured.

      Actual: System popup appears with the message to turn on the screen recording permission. Permissions are turned on, but in the app, I still got the error and popup asks me to turn them on:

      Screen capture fail: 4 , "Permissions denied" 

      NOTE: It works well on Qt 6.5.3

      Reproducibility:  100% 
       

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes