QT4 vs QT5 - QGLWidget problem...
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 ?
Hi and welcome to devnet,
Which version of Qt 5 are you using ?
the latest one for this distro, right now it seems to be 5.2.1
thanks for the post!
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