Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to use Android's TextureView on Qt.



  • I do need to use Android TextureView on Qt, and I am not sure on how to proceed; is there a way to wrap native views? have Qt a way of using TextureView directly on Qml or so?

    The main reason of wanting that is because it synchronizes better and has less latency than other options I've checked ( like a custom QSGGeometryNode that creates latency ), on a slow hardware device with Mali-450.. Maybe because it's synchronized and paintings aren't getting stacked.


  • Moderators

    @delamor
    Not directly. You can use some 3rd party offscreen views (like this for example)
    Anyway this draws the widget into a buffer and then this buffer is drawn in QML. So in the end its even better tho directly implement it in QML.


Log in to reply