diff --git a/src/plugins/qt4projectmanager/wizards/qtquickapp.cpp b/src/plugins/qt4projectmanager/wizards/qtquickapp.cpp
index 482bbf86672abd238942a2f9c007f1716a85923b..5cb77ada04212def0cd1e0b256bc84ba8fb54efa 100644
--- a/src/plugins/qt4projectmanager/wizards/qtquickapp.cpp
+++ b/src/plugins/qt4projectmanager/wizards/qtquickapp.cpp
@@ -224,11 +224,8 @@ void QtQuickApp::handleCurrentProFileTemplateLine(const QString &line,
     QTextStream &proFileTemplate, QTextStream &proFile,
     bool &commentOutNextLine) const
 {
-    if (line.contains(QLatin1String("# QMLJSDEBUGGER"))) {
-        // ### disabled for now; figure out the private headers problem first.
-        //commentOutNextLine = true;
-        Q_UNUSED(commentOutNextLine)
-    } else if (line.contains(QLatin1String("# QML_IMPORT_PATH"))) {
+    Q_UNUSED(commentOutNextLine)
+    if (line.contains(QLatin1String("# QML_IMPORT_PATH"))) {
         QString nextLine = proFileTemplate.readLine(); // eats 'QML_IMPORT_PATH ='
         if (!nextLine.startsWith(QLatin1String("QML_IMPORT_PATH =")))
             return;