The QTOpenGL widget now displays correctly the objects.