Not from scratch but htere is Home Screen Settings wich do it from Pictures folder. Yes I can copy-paste file from .wallpaper to Pictures by myself but whats problem if you can add this to your sexy app?
Dir dir(QDir::home().filePath("MyDocs/.wallpapers")); dir.mkpath("."); QString filename = dir.filePath("mustr_" + base + ".png"); image.save(filename); m_backgroundItem.set(filename); emit done();