Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML camera on android via Loader

QML camera on android via Loader

Scheduled Pinned Locked Moved Solved Mobile and Embedded
1 Posts 1 Posters 250 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    m2dtkast
    wrote on last edited by m2dtkast
    #1

    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)?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved