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. How qquickview share context with opengl?
QtWS25 Last Chance

How qquickview share context with opengl?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qquickwindowqquickview
2 Posts 2 Posters 996 Views
  • 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.
  • T Offline
    T Offline
    tkam1421
    wrote on last edited by aha_1980
    #1

    I am new to qt and as per my knowledge opengl needs an active context to render its scenes and i have read that we can use qquickview to render opengl scenes using beforeRendering() or afterRendering() signal. I want to know why we require these signals can't we directly render without them and what's happening behind the scene?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Please take a look at the Qt Quick Scene Graph chapter of Qt's documentation. You have there the explanation on how it's working and what you can use these signals for.

      There's also the Scene Graph - OpenGL Under QML example that shows how to use beforeRendering .

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved