imageCapture {
onImageCaptured: {
photoPreview.source = preview //where are this parameter(preview) come from?
stillControls.previewAvailable = true
cameraUI.state = "PhotoPreview"
}
}
File “declarative-camera.qml”, line 91
These are part of the codes from the Qt5 example ““declarative-camera”
Can’t find the source of this parameter, where is it come from?
The preview should be the image the camera captured
↧