Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Painting QML + WebView in non-UI Thread

Painting QML + WebView in non-UI Thread

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 2.2k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    lukasf
    wrote on last edited by
    #1

    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?

    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