c++ - How do I convert file path into a URI? -


how convert filepath "c:\whatever.txt" file uri "file:///c:/whatever.txt" qt?

i've tried:

   qdebug() << qurl("c:/foo/baa/a.png").tolocalfile(); 

but output empty string.


Comments

Popular posts from this blog

.net - Generate assembly with Roslyn -

ZeroMQ on Windows, with Qt Creator -

batch file - filebot superstrict script: need tiny video sample or other solution -