Releases: GillesDebunne/libQGLViewer
Releases · GillesDebunne/libQGLViewer
Inherit from QOpenGLWidget instead of QGLWidget
QGLViewer extends QOpenGLWidget instead of the deprecated QGLWidget (huge thanks to Gianluca).
- Although there are minor differences between the two classes, the switch should be mostly invisible.
- Using
update()instead ofupdateGL()is one of them. - The
renderTextmethods were backported to maintain backward compatibility. - Some overloaded constructors (using a
QGLFormator a sharedWidget) are deprecated since they have no equivalent.
Qt version suffix on Linux, minor bug fixes
- Add a
-qt4or-qt5suffix to library file name on Linux. Fixes #18 (thanks Laurent) - Edit the .pro of the examples to support the debug version of the library on Windows. Fixes #23 (thanks naubry)
contribsexamples no longer build by default. Relied on deprecated GL calls (Fixes #31)- Add
QMAKE_MAC_SDKto fix compilation on Mac with recent XCode versions - Fix compilation errors on ARMv7, when
qrealis defined tofloat(Pull request from lrineau)
Simplified build process
- Add dependency to native OpenGL drivers on Windows platform. No longer implicit since ANGLE is an alternative in Qt 5.5 (thanks Andrea and Laurent).
- The library is now always built in the
QGLViewerdirectory. The examples' pro files are simplified and more robust. - Add some
libGludependency in examples that rely on it (thanks Brice).