diff --git a/src/plugins/duieditor/duihoverhandler.cpp b/src/plugins/duieditor/duihoverhandler.cpp
index d5a8dba030e4b3cb85efdccb158ce22d742e7771..c836326ead3bccfa6909cb3a44d7812d0011a978 100644
--- a/src/plugins/duieditor/duihoverhandler.cpp
+++ b/src/plugins/duieditor/duihoverhandler.cpp
@@ -66,8 +66,6 @@ void DuiHoverHandler::editorOpened(IEditor *editor)
     if (!duiEditor)
         return;
 
-    qDebug() << "connected for editor:" << editor->file()->fileName();
-
     connect(duiEditor, SIGNAL(tooltipRequested(TextEditor::ITextEditor*, QPoint, int)),
             this, SLOT(showToolTip(TextEditor::ITextEditor*, QPoint, int)));
 
diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp
index 199784da6f5e2158d427dbaa9b2239b159f4bc1e..e1f13a7ee9e3e0a5e6f7834b3ad47c656b405a2e 100644
--- a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp
+++ b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp
@@ -49,9 +49,9 @@ using namespace ProjectExplorer::Internal;
 /// BuildSettingsPanelFactory
 ///
 
-bool BuildSettingsPanelFactory::supports(Project * /* project */)
+bool BuildSettingsPanelFactory::supports(Project *project)
 {
-    return true;
+    return project->hasBuildSettings();
 }
 
 PropertiesPanel *BuildSettingsPanelFactory::createPanel(Project *project)
diff --git a/src/plugins/projectexplorer/project.cpp b/src/plugins/projectexplorer/project.cpp
index cc18fbcfd36de3f58c00201c93215be52468f840..b54c7d29d7bbfd9e2ec7a076a16679236e07d9e4 100644
--- a/src/plugins/projectexplorer/project.cpp
+++ b/src/plugins/projectexplorer/project.cpp
@@ -151,6 +151,11 @@ QStringList Project::buildConfigurations() const
     return result;
 }
 
+bool Project::hasBuildSettings() const
+{
+    return true;
+}
+
 QList<BuildStep *> Project::buildSteps() const
 {
     return m_buildSteps;
diff --git a/src/plugins/projectexplorer/project.h b/src/plugins/projectexplorer/project.h
index e876db675574e6750bbf73cc4cd6e62b96a51783..2c7f14ab734bbd1086d30afa10e2a908c50b69d9 100644
--- a/src/plugins/projectexplorer/project.h
+++ b/src/plugins/projectexplorer/project.h
@@ -80,6 +80,8 @@ public:
 
     virtual bool isApplication() const = 0;
 
+    virtual bool hasBuildSettings() const;
+
     // Build/Clean Step functions
     QList<BuildStep *> buildSteps() const;
     void insertBuildStep(int position, BuildStep *step);
diff --git a/src/plugins/qmlprojectmanager/qmlproject.cpp b/src/plugins/qmlprojectmanager/qmlproject.cpp
index f3406552055e57c3c52b0c571c43845eaccc677e..28a775174276b02623463f7cbee897cae4212f9f 100644
--- a/src/plugins/qmlprojectmanager/qmlproject.cpp
+++ b/src/plugins/qmlprojectmanager/qmlproject.cpp
@@ -237,6 +237,11 @@ bool QmlProject::isApplication() const
     return true;
 }
 
+bool QmlProject::hasBuildSettings() const
+{
+    return false;
+}
+
 ProjectExplorer::Environment QmlProject::environment(const QString &) const
 {
     return ProjectExplorer::Environment::systemEnvironment();
diff --git a/src/plugins/qmlprojectmanager/qmlproject.h b/src/plugins/qmlprojectmanager/qmlproject.h
index 9d1252a994f0d29bdacacefd01f102dbe0a21242..f8e867e904e7a4ab2fc132a088abe5dad7a2ba6f 100644
--- a/src/plugins/qmlprojectmanager/qmlproject.h
+++ b/src/plugins/qmlprojectmanager/qmlproject.h
@@ -64,6 +64,7 @@ public:
     virtual QList<ProjectExplorer::Project *> dependsOn();
 
     virtual bool isApplication() const;
+    virtual bool hasBuildSettings() const;
 
     virtual ProjectExplorer::Environment environment(const QString &buildConfiguration) const;
     virtual QString buildDirectory(const QString &buildConfiguration) const;