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. Getting aperture value from QCamera?

Getting aperture value from QCamera?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 384 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.
  • PowerNowP Offline
    PowerNowP Offline
    PowerNow
    wrote on last edited by
    #1

    For my android app I need the aperture value (C++ or Qml) of the camera (LG G2). Unfortunately I only get -1. I tried the following:

    qDebug() << m_camera->state(); -> state QCamera::ActiveState
    qDebug() << m_camera->status(); -> status QCamera::StartingStatus
    qDebug() << m_camera->lockStatus();- > lockStatus QCamera::Unlocked
    qDebug() << m_camera->supportedLocks(); -> supportedLocks QFlags(0x1|0x2|0x4)
    qDebug() << m_camera->isAvailable(); -> isAvailable true
    qDebug() << m_camera->availability(); -> availability 0

    qDebug() << m_camera->isMetaDataAvailable(); -> false

    m_camExp = m_camera->exposure();
    qDebug() << m_camExp->property("aperture"); -1

    qDebug() << m_camExp->isExposureModeSupported(QCameraExposure::ExposureManual); -> false

    It seems the camera of the LG G2 does have only one fix aperture and do not allow to switch to manual mode. Thats why I get only -1. But how do I then get the fix aperture value?

    Does maybe someone has an idea? What else can I try...

    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