diff --git a/src/plugins/qtsupport/gettingstartedwelcomepage.cpp b/src/plugins/qtsupport/gettingstartedwelcomepage.cpp index 0aae70887282032404abab800801be0e83540be6..f9296c872704c45f1bc2a689cda8503b3c71af8e 100644 --- a/src/plugins/qtsupport/gettingstartedwelcomepage.cpp +++ b/src/plugins/qtsupport/gettingstartedwelcomepage.cpp @@ -401,6 +401,9 @@ void ExamplesWelcomePage::openProject(const QString &projectFile, const QStringL QStringList filesToOpen = additionalFilesToOpen; QFileInfo proFileInfo(proFile); + if (!proFileInfo.exists()) + return; + // If the Qt is a distro Qt on Linux, it will not be writable, hence compilation will fail if (!proFileInfo.isWritable()) proFile = copyToAlternativeLocation(proFileInfo, filesToOpen, dependencies);