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
Forum Updated to NodeBB v4.3 + New Features

QML camera on android via Loader

Scheduled Pinned Locked Moved Solved Mobile and Embedded
1 Posts 1 Posters 215 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 6 Jan 2021, 12:21 last edited by m2dtkast 1 Jun 2021, 12:23
    #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

    1/1

    6 Jan 2021, 12:21

    • Login

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