Previous commit broke linux compatibility. Moved to QOpenGLVertexArrayObject library available since Qt 5.1. This seems to have fixed the problem.