macos: Fixed real camera not activating during emulation

This was due to a plugin which is required for handling camera permissions being missing
This commit is contained in:
OpenSauce04 2025-12-18 22:52:01 +00:00
parent 8e4d4efce4
commit ba5215242f
2 changed files with 4 additions and 1 deletions

View File

@ -286,7 +286,9 @@ if (APPLE)
target_link_libraries(citra_qt PRIVATE Qt6::GuiPrivate)
endif()
if (UNIX AND NOT APPLE)
if (APPLE)
target_link_libraries(citra_qt PRIVATE Qt6::QDarwinCameraPermissionPlugin)
elseif (UNIX)
target_link_libraries(citra_qt PRIVATE Qt6::DBus gamemode)
endif()

View File

@ -115,6 +115,7 @@
#ifdef __APPLE__
#include "common/apple_authorization.h"
Q_IMPORT_PLUGIN(QDarwinCameraPermissionPlugin);
#endif
#ifdef USE_DISCORD_PRESENCE