Why use QPainter? QtQuick already has helper methods for drawing textures, no need to dive into QPainter and OpenGL code. You can see an example here: link [github.com].
↧