Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6
-
None
-
-
dd3701e6c (dev), 53eafd93b (6.7), a77f55831 (6.6), 48bf56477 (tqtc/lts-6.5)
-
2023wk48FOQtforAndroid, 2023wk50FOQtforAndroid, 2023wk52FOQtforAndroid, 2024wk02FOQtforAndroid
Description
QML Camera: ImageCapture: imageSaved(requestId, path) doesn’t work. path is not known.
So I compared the QML Camera doc with QCamera: QImageCapture: imageSaved(id, fileName).
fileName is working on QML Camera: ImageCapture:
onImageSaved: { console.log("requestId: ",requestId," fileName: ", fileName) lastSavedImageFileName = fileName photoPreview.source = "file://"+fileName }
But now there’s a warning in the logs:
W qt.qml.context: : qrc:/qml/photo/CapturePhotoPage.qml:163:13 Parameter "fileName" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
there seems to be a mismatch between the docs and implementation
same happens with
onErrorOccured: {}
where message doesn't work - you must use errorString. errorString works, but there's same warning as for fileName.
Attachments
Issue Links
- mentioned in
-
Page Loading...