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