macos: warn if no permission to start camera

This commit is contained in:
tobtoht
2024-01-02 21:21:34 +01:00
parent 7971d0043f
commit 3c4b01d021
5 changed files with 32 additions and 1 deletions
+4
View File
@@ -34,6 +34,10 @@ Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
Q_IMPORT_PLUGIN(QComposePlatformInputContextPlugin) // Needed for dead keys on Linux
#endif
#if defined(Q_OS_MAC) && defined(STATIC)
Q_IMPORT_PLUGIN(QDarwinCameraPermissionPlugin)
#endif
#if defined(Q_OS_LINUX) && defined(STACK_TRACE)
void signal_handler(int signum) {
::signal(signum, SIG_DFL);