Important: Please read the Qt Code of Conduct -

QCamera QCameraExposure flash doesn't work

  • Hi,

    I have a flash led on my device. But I can't use it.
    The camera function works perfectlly.
    I try
    qDebug() << camera->exposure()->flashMode();
    qDebug() << camera->exposure()->isFlashModeSupported(QCameraExposure::FlashAuto);
    qDebug() << camera->exposure()->isFlashModeSupported(QCameraExposure::FlashTorch);
    qDebug() << camera->exposure()->isFlashModeSupported(QCameraExposure::FlashRedEyeReduction);
    qDebug() << camera->exposure()->isFlashModeSupported(QCameraExposure::FlashFill);
    qDebug() << camera->exposure()->isFlashModeSupported(QCameraExposure::FlashVideoLight);
    qDebug() << camera->exposure()->isFlashModeSupported(QCameraExposure::FlashSlowSyncFrontCurtain);
    qDebug() << camera->exposure()->isFlashModeSupported(QCameraExposure::FlashSlowSyncRearCurtain);
    qDebug() << camera->exposure()->isFlashModeSupported(QCameraExposure::FlashManual);
    but all are false.

    How can I use my flash led.

    Thx for your help.

  • Lifetime Qt Champion


    It will depend on your platform/device. If you know how to access your device flash, you could update the corresponding QtMultimedia backend to use it.

Log in to reply