Painting QML + WebView in non-UI Thread



  • We are using Quick to generate dynamic textures for a 3D scene (Qt-based UI + IrrlichtEngine-based 3D scene)
    The QML files are rendered into a QImage and transferred to the Irrlicht Engine.
    The images need to be updated once every x seconds.

    Rendering these QML files should not slow down or block the main UI thread.
    Therefore, a special QML painter thread was devised.

    It worked very well - until we decided to add a WebView to one of the QML files.
    The WebView wants to create QWidget-based objects (the context menu?).
    However, QWidgets can only be created in the UI-Thread...

    Is there a simple WebView without any QWidgets?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.