Unsolved Create QML Image from C++
-
Hi,
how to create dynamically QML Image element from C++?I'm creating puzle game with variable count of tiles. Each tile is represented by the image element in QML. I will then supply QImage to the image QML element via QQuickImageProvider. Or is there better solution?
-
@MartinD said:
Or is there better solution?
Yes, provide image sources as a model from C++, create the visuals ie. QML Image elements in QML.