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. Final question on QQuickWindow vs QWindow Context

Final question on QQuickWindow vs QWindow Context

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.3k 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.
  • M Offline
    M Offline
    Martell Malone
    wrote on last edited by
    #1

    I've created a QWindow that is able to render my game window via my own QOpenGLContext

    When I change this window to a QQuickWindow I expected the same to be rendered.
    But when I change the class I get a quick flicker of my window and then I goes white as though something is over writing it?

    Could anyone tell me why?

    Edit: it has something to do with the scenegraph being rendered over my opengl window.

    I want qml on top of my window but I dont want to to clear it before drawing the scenegraph.

    I know there is a flag to turn off clear before rendering but that doesn't work.

    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