i have application allows user load , display images. in qml front end using filedialog file urls loaded using image loader in c++.
the issue have @ moment if want load multiple images have load them @ once because once fileurls changes, old urls lost.
what best way go storing urls can keep images displayed?
solution 1: c++ side, use qstringlist or qvector store paths , load images it. qml side, each time new url push qstringlist.
solution 2: declare qml array (property var array:[]) , store in new urls, load images list.
Comments
Post a Comment