Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. I have the same problem and my program is developed on windows .
Forum Updated to NodeBB v4.3 + New Features

I have the same problem and my program is developed on windows .

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 395 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.
  • XYZ916X Offline
    XYZ916X Offline
    XYZ916
    wrote on last edited by
    #1

    Re: QOpenGLWidget makes entire window black on resize

    There is something strange that when my widget is inherited from QGLWidget there is nothing wrong, and when my widget is inherited from QOpenGLWidget , I got the problem. Looking forward to your reply!

    K 1 Reply Last reply
    0
    • XYZ916X XYZ916

      Re: QOpenGLWidget makes entire window black on resize

      There is something strange that when my widget is inherited from QGLWidget there is nothing wrong, and when my widget is inherited from QOpenGLWidget , I got the problem. Looking forward to your reply!

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

      @XYZ916

      Hi and welcome to devnet forum

      Also the questions asked in response are still the same. Without more information nobody can help you.

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

      1 Reply Last reply
      0
      • XYZ916X Offline
        XYZ916X Offline
        XYZ916
        wrote on last edited by
        #3

        The version of my QT is Qt5.7.0, and my os is windows 2010 . I used Qt4 before and there was no error but when I updated the qt version from Qt4.8.6 to Qt5.7.0 I got the error. Once I resize the window, all in the window turn to be black and there is nothing left. Any other information I can offer for you?

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Perhaps these could help https://doc.qt.io/qt-5/sourcebreaks.html#changes-to-qt-opengl

          (Z(:^

          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