diff --git a/src/plugins/qmlprojectmanager/qmlproject.cpp b/src/plugins/qmlprojectmanager/qmlproject.cpp
index 508277950de37abd35f01b78106e9e2df4fbb2aa..0e4a8be5d2d00b2c7ba89eaf011844143c6f1047 100644
--- a/src/plugins/qmlprojectmanager/qmlproject.cpp
+++ b/src/plugins/qmlprojectmanager/qmlproject.cpp
@@ -122,6 +122,17 @@ void QmlProject::parseProject(RefreshOptions options)
         if (m_projectItem) {
             m_projectItem.data()->setSourceDirectory(projectDir().path());
             m_modelManager->updateSourceFiles(m_projectItem.data()->files(), true);
+
+            QString mainFilePath = m_projectItem.data()->mainFile();
+            if (!mainFilePath.isEmpty()) {
+                mainFilePath = projectDir().absoluteFilePath(mainFilePath);
+                if (!QFileInfo(mainFilePath).isReadable()) {
+                    messageManager->printToOutputPane(
+                                tr("Warning while loading project file %1.").arg(m_fileName));
+                    messageManager->printToOutputPane(
+                                tr("File '%' does not exist or is not readable.").arg(mainFilePath), true);
+                }
+            }
         }
         m_rootNode->refresh();
     }