Hello. There is such a code:
QString test = QFileDialog::getOpenFileName(); QProcess *process = new QProcess(this); process->start(test); But when there are spaces on the way, QProcess gives an error:
Unknown error
How to run a file with spaces in the path using QFileDialog ?