Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Black screen and normal screen using QOpenGLContext + QQuickWindow
Forum Updated to NodeBB v4.3 + New Features

Black screen and normal screen using QOpenGLContext + QQuickWindow

Scheduled Pinned Locked Moved Unsolved Game Development
2 Posts 2 Posters 693 Views 2 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.
  • BrunoGSAB Offline
    BrunoGSAB Offline
    BrunoGSA
    wrote on last edited by
    #1

    When I use QOpenglContext with QQuickWindow, the screen gets dark for a frame e gets normal render (opengl partial view + QT Controls). Is there anything I am missing? I call swapBuffer and after that I call makeCurrent.
    I saw everything is only one thread.
    When I initialize the app I also call makeCurrent.

    Can anybody help me?

    K 1 Reply Last reply
    0
    • BrunoGSAB BrunoGSA

      When I use QOpenglContext with QQuickWindow, the screen gets dark for a frame e gets normal render (opengl partial view + QT Controls). Is there anything I am missing? I call swapBuffer and after that I call makeCurrent.
      I saw everything is only one thread.
      When I initialize the app I also call makeCurrent.

      Can anybody help me?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @BrunoGSA

      There is no need for duplication in this forum, see https://forum.qt.io/topic/99288/black-screen-and-normal-using-qopenglcontext-qquickwindow

      Closing this one

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      3

      • Login

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