Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How do I create an instance of QPaintedTextureImage
AI_Messiah last edited by
I understand that I have to make a class that inherits from QPaintedTextureImage. What I don't understand is to put a painter into the paint method where does the painter come from is it automatically created? and the actual texture itself how is it included.
As the class documentation states, the QPaintedTextureImage must be attached to a texture.
The paint method provides you the QPainter instance you have to use.