diff --git a/src/Gui/NetworkRetriever.cpp b/src/Gui/NetworkRetriever.cpp index 0019036e57..b6cbe153bc 100644 --- a/src/Gui/NetworkRetriever.cpp +++ b/src/Gui/NetworkRetriever.cpp @@ -374,8 +374,12 @@ void NetworkRetriever::wgetFinished(int exitCode, QProcess::ExitStatus status) bool NetworkRetriever::testWget() { QProcess proc; +#if QT_VERSION > 0x050000 proc.setProgram(QString::fromLatin1("wget")); proc.start(); +#else + proc.start(QString::fromLatin1("wget")); +#endif bool ok = proc.state() == QProcess::Running; proc.kill(); proc.waitForFinished();