[Interest] Trying to access Microphone via QAudioInput on Mac 10.14

Roland Winklmeier roland.m.winklmeier at gmail.com
Thu May 2 15:37:10 CEST 2019


Dear Qt experts,

I'm trying to access the microphone using QAudioInput for a VoIP
application. Since Mac 10.14, I receive only silence from the QAudioInput.
After reading the Mac OS 10.14 documentation, I realize that Apple added
more Security/Privacy control to MacOS. All microphone access has to be
approved by the user.
Fair enough, however the permission request to ask for authorization is
never popping up. Also my application is not listed in the Privacy/Security
control. I simply tried to open a default device with QAudioInput and
started it. Do I miss something?
I also added <key>NSMicrophoneUsageDescription</key> to the Info.plist
which seems necessary now. However, no success still.

I also read
https://forum.qt.io/topic/97570/macos-mojave-privacy-prompt-not-appearing-when-debugging-audio-app-in-qt-creator/8
which suggests that it should work.

Does anyone know whats going on?

Thanks,
Roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190502/a681606b/attachment.html>


More information about the Interest mailing list