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

Missing Info.plist in audio devices example does not allow using the application on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.1, 6.7.0 Beta2
    • Examples and Demos
    • None
    • macOS

    Description

      MacOS 14.3

      Qt Creator 12.0.1

      Qt 6.7.0-beta2

       

      Steps to reproduce:

      1. Build and run  https://doc.qt.io/qt-6/qtmultimedia-audiodevices-example.html example on macOS

      Expected: There is a list of input and output devices available.

      Actual: There is a list of input and output devices available.

      Reproducibility:  100%

       

      CMakeLists.txt should include:

      set_target_properties(audiodevices PROPERTIES
          WIN32_EXECUTABLE TRUE
          MACOSX_BUNDLE TRUE
          MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in
      )

      and Info.plist.in file should include:

      <key>NSCameraUsageDescription</key>    
      <string>Qt Multimedia Example</string>	
      <key>NSMicrophoneUsageDescription</key>	
      <string>Qt Multimedia Example</string>	 

       
       
       

      Attachments

        Issue Links

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

          Activity

            People

              lars.sutterud Lars Sutterud
              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