Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Why doesn't Qprocess::start work for me?

$
0
0
I’m doing: QProcess starter; starter.setWorkingDirectory("C:/folder/"); starter.start("C:/1.exe"); And it doesn’t launch the C:/1.exe file, which exists and launches fine with QDesktopServices::openUrl(QUrl::fromLocalFile("C:/1.exe")); The latter doesn’t allow for working dir customization, so I really need QProcess to work. Advices? P. S. This is on Windows.

Viewing all articles
Browse latest Browse all 13965

Trending Articles