rgoulter / cs5237-VoronoiArt

Voronoi Art program written with OpenGL, Qt and OpenCV.
MIT License
3 stars 1 forks source link

Replace use of QGLWidget with QOpenGLWidget #23

Open rgoulter opened 6 years ago

rgoulter commented 6 years ago

This project renders an image, and various vertices, lines, polygons using OpenGL.

As noted in comments in the code, QGLWidget is deprecated; since Qt5.4, preferred is QOpenGLWidget: http://doc.qt.io/qt-5/qopenglwidget.html

rgoulter commented 6 years ago

Turns out a simple s/QGLWidget/QOpenGLWidget/ isn't quite enough.

Observed, when I try that: