GLError on OSX With Qt 5.7 and Qt 5.8
When i compile OpenFlipper on OSX using Qt 5.7 or Qt 5.8 i get GLErrors when i add geometry to an empty scene. E.G. add a cube to a freshly started OpenFlipper.
If this is caused by the QPainter, which is indicated by my preliminary tests, i recommend reimplenting the QPainter. This way we might be able to provide CoreProfile compatibility with Qt Versions older than 5.9 and fix this issue at the same time.