QML Materials example - TextureLoader
Hi, i was studying the Materials QML example in the official Qt Documentation online when i noticed a difference between the version on the web and the one in the Qt examples.
In particular the difference was about the method used for loading the texture:
Clearly the second version is the correct one but i'm interested in the possibility of use a c++ object for loading a custom texture image with a redefined paint method. Maybe the version online was, initially, similar to what I was talking about.
Can anyone help me find a way to solve this problem?