Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get PID from QDesktopServices::openUrl
GianniValenti_Alkeria last edited by
I was wandering if there is a way to open a URL like with QDesktopServices::openUrl and get a QProcess (or similar) object in order to kill it, if it's still alive, before closing the application.
Thanks a lot,
Bonnie last edited by
AFAIK, it is impossible to control the process opened by
I think your only approach is to find out the associated application by yourself, then use QProcess to execute it, with passing url as the argument.