Unsolved QProcess works with pictures?
-
I think qprocess only works when for example one example run one executable. But with pictures will work for example to open one picture? I think not but not sure?
-
Hi
No, QProcess works ONLY with "exe" files. Something that is runnable.
A picture is not.To open a picture using the default program for that, one can call
http://doc.qt.io/qt-5/qdesktopservices.htmlQDesktopServices::openUrl(QUrl("file:///home/XX/fileName.png"))