Add an option to enable opengl debugging log: http://doc.qt.io/qt-5/qopengldebuglogger.html <!--- @huboard:{"milestone_order":168.75} -->