2011-07-03 5 views

答えて

1

アウトQCameraFlashControl

具体的QCameraExposure :: FlashTorchでsetFlashModeを呼び出します。

+0

(私のノキアc5はQtモビリティ1.0を持っているので、私は懐中電灯アプリをダウンロードすることにしました – user707895

1

QCamera *カメラ=新しいQCameraを使用して、現在のフラッシュモードを取得するには、 QCameraExposure * cameraExposure = camera.exposure();

FlashModes flashMode = cameraExposure-> flashMode();

QCamera *カメラ=新しいQCameraを使用(常に上の例)フラッシュモードを設定するには

。 QCameraExposure * cameraExposure = camera.exposure();

cameraExposure-> setFlashMode(QCameraExposure :: FlashTorch);

関連する問題