Re: [Interest] Qt Mac OS - App crashes when opening camera - Namespace TCC, Code 0x0

2019-12-18 Thread Jason H
one of the things Qt needs is a unified, standard, permission request system? > Sent: Wednesday, December 18, 2019 at 12:47 AM > From: "Nuno Santos" > To: "Hamish Moffatt" > Cc: "interestqt-project.org" > Subject: Re: [Interest] Qt Mac OS - App crashes

Re: [Interest] Qt Mac OS - App crashes when opening camera - Namespace TCC, Code 0x0

2019-12-17 Thread Nuno Santos
Great! Thanks! > On 17 Dec 2019, at 23:35, Hamish Moffatt wrote: > > On 18/12/19 9:18 am, Nuno Santos wrote: >> Hamish, >> >> Thanks for your reply. >> >> I’ve have .plist entries for camera and microphone already. >> >> Can you point me which api call is necessary? Some keywords so that I

Re: [Interest] Qt Mac OS - App crashes when opening camera - Namespace TCC, Code 0x0

2019-12-17 Thread Hamish Moffatt
On 18/12/19 9:18 am, Nuno Santos wrote: Hamish, Thanks for your reply. I’ve have .plist entries for camera and microphone already. Can you point me which api call is necessary? Some keywords so that I can google faster? I didn't write our code that does this, but I see the following calls

Re: [Interest] Qt Mac OS - App crashes when opening camera - Namespace TCC, Code 0x0

2019-12-17 Thread Nuno Santos
Hamish, Thanks for your reply. I’ve have .plist entries for camera and microphone already. Can you point me which api call is necessary? Some keywords so that I can google faster? Thank you! Best regards, Nuno > On 17 Dec 2019, at 21:40, Hamish Moffatt wrote: > > On 17/12/19 10:24 pm,

Re: [Interest] Qt Mac OS - App crashes when opening camera - Namespace TCC, Code 0x0

2019-12-17 Thread Hamish Moffatt
On 17/12/19 10:24 pm, Jason H wrote: I've had this working before... But have not tried it on a recent version of Qt. You need a plist entry, which I thought is how you get the permission request. It's just like in iOS. You need a plist entry, AND you need to call the API to request

Re: [Interest] Qt Mac OS - App crashes when opening camera - Namespace TCC, Code 0x0

2019-12-17 Thread Jason H
-project.org" > Subject: [Interest] Qt Mac OS - App crashes when opening camera - Namespace > TCC, Code 0x0 > > Hi, > > I’m developing an application that uses camera. I’m having a crash when the > app is not opened by Qt Creator: > > Crashed Thread:2 D

[Interest] Qt Mac OS - App crashes when opening camera - Namespace TCC, Code 0x0

2019-12-17 Thread Nuno Santos
Hi, I’m developing an application that uses camera. I’m having a crash when the app is not opened by Qt Creator: Crashed Thread:2 Dispatch queue: com.apple.root.default-qos Exception Type:EXC_CRASH (SIGABRT) Exception Codes: 0x, 0x