QCameraPermission Class
사진 또는 동영상 촬영을 위해 카메라에 액세스합니다. 더 보기...
헤더: | #include <QPermissions> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
이후: | Qt 6.5 |
자세한 설명
요구 사항
런타임에 이 권한을 요청하려면 빌드 시점에 다음과 같은 플랫폼별 사용 선언을 해야 합니다:
플랫폼 | Type | |
---|---|---|
Apple | 사용 설명 | NSCameraUsageDescription |
Android | uses-permission | android.permission.CAMERA |
프로젝트에 추가하는 방법은 개별 사용 선언 유형을 참조하세요.
QPermission, QCoreApplication::requestPermission(), QCoreApplication::checkPermission() 및 애플리케이션 권한도참조하세요 .
© 2025 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.