QCameraPermission Class
Accede a la cámara para hacer fotos o vídeos. Más...
| Cabecera: | #include <QPermissions> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Core)target_link_libraries(mytarget PRIVATE Qt6::Core) |
| qmake: | QT += core |
| Desde: | Qt 6.5 |
Descripción detallada
Requisitos
Para solicitar este permiso en tiempo de ejecución, se deben realizar las siguientes declaraciones de uso específicas de la plataforma en tiempo de compilación:
| Plataforma | Tipo | |
|---|---|---|
| Apple | Descripción de uso | NSCameraUsageDescription |
| Android | uses-permission | android.permission.CAMERA |
Consulta los tipos de declaración de uso individuales para saber cómo añadirlos a tu proyecto.
Véase también QPermission, QCoreApplication::requestPermission(), QCoreApplication::checkPermission(), y Permisos de aplicación.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.