[Interest] Should onImageSaved give a URL?

Thiago Macieira thiago.macieira at intel.com
Wed Jan 22 21:00:14 CET 2020


On Wednesday, 22 January 2020 11:00:41 PST Jason H wrote:
> > > onImageSaved: {
> > > var url = "file://"+path;
> > 
> > NEVER construct a URL like this.
> 
> Then how should it be done?

I don't know about QML/JS, but in C++ use QUrl::fromLocalFile. There must be 
something equivalent in JS.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Interest mailing list