Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. qopenglwindow
    Log in to post

    • UNSOLVED MacOS : QOpenGLWindow + QOpenGLWidget in MainWindow + QPainter causes repaint bug
      General and Desktop • qpainter macos qopenglwindow • • Karpi  

      9
      0
      Votes
      9
      Posts
      74
      Views

      Thanks for the code ! You can use the Q_OS_XXX macros to ifdef your code.
    • SOLVED Undefined reference to resizeEvent(QResizeEvent*)
      General and Desktop • qopenglwindow • • Tom asso  

      4
      0
      Votes
      4
      Posts
      50
      Views

      @Christian-Ehrlicher and @SGaist - thanks very much for help, and you are both right of course. Super-useful to have your additional eyes on my code!
    • UNSOLVED QOffscreenSurface rendering... bad frame.
      General and Desktop • qopenglframebuf qopenglwindow glreadpixels qoffscreensurfa • • Dariusz  

      3
      0
      Votes
      3
      Posts
      89
      Views

      Bump as I re-edited the topic with new info from "scratch"
    • UNSOLVED QOpenGLWindow - drag event?
      General and Desktop • qopenglwindow qdrag qdrag drag drop • • Dariusz  

      7
      0
      Votes
      7
      Posts
      169
      Views

      Woah sweet! will do that thanks!
    • UNSOLVED ProcessEvents does not add widget to layout & display.
      General and Desktop • qopenglwindow • • Dariusz  

      6
      0
      Votes
      6
      Posts
      164
      Views

      @Dariusz @SGaist I though I cant create widgets in non main thread? Correct, but you can emit a signal from the thread and react on it in the main thread.
    • SOLVED How to direct key presses to QOpenGLWindow in 5.6?
      General and Desktop • qt5.6 focus qopenglwindow • • A Former User  

      2
      0
      Votes
      2
      Posts
      1012
      Views

      I managed to solve the problem by adding eventFilter to my subclass of QOpenGLWindow and then installing event filter for the owning container (and some of its parents).
    • UNSOLVED QOpenGLWindow from QOpenGLWidget
      General and Desktop • qopenglwidget qopenglwindow • • kshegunov  

      3
      0
      Votes
      3
      Posts
      1310
      Views

      Hello, I know they don't inherit one another, that's why I'm asking if it's possible. :) I have a form with QOpenGLWidget laid out and want to use Qt3D, which does require a QWindow subclass for its painting routines. Now I was thinking maybe creating an attached QOpenGLWindow and sharing contexts but I'm not quite sure if this is the way. Anyway, createWindowsContainer is a possible solution, but I'd need to handle the layout insertion manually, this is why I'm asking. Kind regards.
    • SOLVED QOpenGLWindow Calling initializeGL() After MainWindow is Shown
      General and Desktop • qtquick qopenglwidget qopenglwindow • • tpr5  

      4
      0
      Votes
      4
      Posts
      2074
      Views

      @yoavmil Thank you, that resolved the issue. I have now set it up in main to show and then immediately hide the main window. I connected the splash screen close slot to a custom signal indicating when the model has finished loading. So now the main window becomes visible upon the model loading and the splash screen persists until receiving the very same signal.
    • QOpenGLWindow initializes very slow
      General and Desktop • qt 5.4.1 slow qopenglwindow initialize • • Xv1nX  

      1
      0
      Votes
      1
      Posts
      508
      Views

      No one has replied