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

    • macOS
    • bf5e64631 (dev), a4c962df7 (6.8), cc7e6a075 (6.7), 931f0422e (tqtc/lts-6.5)
    • Multimedia wk 17-18, Multimedia wk 27-28

    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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes