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

QML camera on android via Loader



  • Hey;
    platform : android-29, on device.
    using Camera qml object in a component instantiated via a Loader (activated when the view becomes visible);
    works otherwise fine, but configuring resolution on the camera seems to not affect the size of the taken picture, which
    remains the default one.
    For example,
    setting

    imageCapture.resolution : "640x480"
    

    will set the property, but taken pictures res still differ.

    The declarative-camera example has no issues in that sense on the same device, and takes pictures in the correct resolution.

    Can there be a big difference between the two instantiation ways (Loader vs static in the case of the declarative-camera example)?


Log in to reply