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. QCamera features support on android?(Qt6.5.2)

QCamera features support on android?(Qt6.5.2)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 183 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
    Martin Skalsky
    wrote on last edited by Martin Skalsky
    #1

    Hi, all. I am working on an application where I need to control the focus, exposition, iso, etc., of the camera. Does anybody know whether those features are generally supported in QT for Android? Other applications seem to be able to control those parameters of the camera, but Qt tells me that the feature is not supported:

    Code:

    m_camera.reset(new QCamera(cameraDevice));
     auto features = m_camera->supportedFeatures();
    qDebug() << "Manual Focus supported: " << features.testFlag(QCamera::Feature::FocusDistance);
     qDebug() << "Manual iso supported: " << features.testFlag(QCamera::Feature::IsoSensitivity);
     qDebug() << "Manual Exposure supported: " << features.testFlag(QCamera::Feature::ManualExposureTime);
    

    Result:

    D libCalibApp_arm64-v8a.so: Manual Focus supported:  false
    D libCalibApp_arm64-v8a.so: Manual iso supported:  false
    D libCalibApp_arm64-v8a.so: Manual Exposure supported:  false
    

    Is there anything I could try except to switch to a different framework? Maybe some missing permissions?

    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