Important: Please read the Qt Code of Conduct -

QQuickItem to QImage

  • Hi,

    I am trying to create QR reader for Android, I managed to get everything worked. But use QML Camera and VideoOutput and QR decoding is written in C++, so I had to get QImage from VideoOutput, so I used QQuickItem::grabToImage. I would like to scan for example every 200 ms, but when I tried to do it, app was lagging. Any ideas how to get QImage from VideoOutput fast?
    EDIT: QR decoding runs in different thread

    Thanks in advance