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?

How qquickview share context with opengl?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qquickwindowqquickview
2 Posts 2 Posters 1.0k 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 6 Jul 2018, 12:55 last edited by aha_1980 7 Jun 2018, 14:32
    #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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 6 Jul 2018, 14:22 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

      1/2

      6 Jul 2018, 12:55

      • Login

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