I'm trying to run Evince to read a pdf file from my Qt program, using QProcess::startDetached method :
QProcess myProcess = QProcess();
myProcess.startDetached("evince", "~/mypath/doc.pdf");
Evince is well launched, but in its HMI I get the message "Cannot open the file, No such file or directory"
But the path is ok as when I use "acroread" to read the file, it finds the file and can open it.
Thank you for helping :)