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. QT4 vs QT5 - QGLWidget problem...
QtWS25 Last Chance

QT4 vs QT5 - QGLWidget problem...

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.4k 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.
  • P Offline
    P Offline
    pzogal
    wrote on last edited by
    #1

    Hi,
    I have a problem with a QGLWidget derived class in QT5. If paintGL does nothing except glClear() the window is not cleared at all. When drawing something it is cleared and everything works OK. This happens under QT5. An easy way to check is to comment out logo->draw() from glhello example. With QT4.8 however everything is fine... and native GL , too. My OS is 64b Arch Linux. Did someone have similar problems ?

    Cheers,
    Pawel

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

      Hi and welcome to devnet,

      Which version of Qt 5 are you using ?

      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
      0
      • P Offline
        P Offline
        pzogal
        wrote on last edited by
        #3

        Hi,
        the latest one for this distro, right now it seems to be 5.2.1
        thanks for the post!

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

          Can you try with the latest "5.3 beta":http://download.qt-project.org/snapshots/qt/5.3/5.3.0-beta/2014-03-23_28/ ?

          If it's still there, you should take a look at the "bug report system":http://bugreports.qt-project.org to see if it's something known. If not please open a new bug report providing a minimal sample example

          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
          0

          • Login

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