diff --git a/share/qtcreator/qml/qmljsdebugger/qmljsdebugger-lib.pri b/share/qtcreator/qml/qmljsdebugger/qmljsdebugger-lib.pri
index 35a38855d646e82f3f535e2561c7e010fed6d751..98f98ab713cf653a37ce8677d8ce9fda3d4d4120 100644
--- a/share/qtcreator/qml/qmljsdebugger/qmljsdebugger-lib.pri
+++ b/share/qtcreator/qml/qmljsdebugger/qmljsdebugger-lib.pri
@@ -9,3 +9,5 @@ CONFIG(debug, debug|release) {
     windows:DEBUGLIB = QmlJSDebuggerd
 }
 LIBS += -L$$PWD -l$$DEBUGLIB
+
+DEFINES += QMLJSDEBUGGER
diff --git a/share/qtcreator/templates/qtquickapp/app.pro b/share/qtcreator/templates/qtquickapp/app.pro
index bf48f9be7ad4f37773c3d1578d6af1249729bab0..d51c291ade87eaef71146bbed96fcd61b2195f44 100644
--- a/share/qtcreator/templates/qtquickapp/app.pro
+++ b/share/qtcreator/templates/qtquickapp/app.pro
@@ -23,10 +23,6 @@ symbian:TARGET.UID3 = 0xE1111234
 # NETWORKACCESS #
 symbian:TARGET.CAPABILITY += NetworkServices
 
-# Define QMLJSDEBUGGER to allow debugging of QML in debug builds
-# (This might significantly increase build time)
-# DEFINES += QMLJSDEBUGGER
-
 # If your application uses the Qt Mobility libraries, uncomment the following
 # lines and add the respective components to the MOBILITY variable.
 # CONFIG += mobility