Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Android : viewfinder.onResolutionChanged called when camera started



  • It appears starting the camera triggers a resolution change on the view finder;
    but this happens only on Android. I can't reproduce this on my laptop, for instance.
    This resolution happens to be the same of the preview image (as provided to the imageCapture.onImageCaptured handler).

    If I breakpoint in the handler, the given event is fired "from nowhere" , i.e. the stack trace is not displaying any info,
    except the current frame (contrary to when I set resolution from qml, in which case the full stack trace is visible).

    • Is this different behaviour documented somewhere?
    • what might be triggering it?

Log in to reply