summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/declarative/qml/qml.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qml.pri b/src/declarative/qml/qml.pri
index f549a5e..04c0ca2 100644
--- a/src/declarative/qml/qml.pri
+++ b/src/declarative/qml/qml.pri
@@ -71,7 +71,7 @@ HEADERS += qml/qmlparser_p.h \
qml/qpodvector_p.h
# for qtscript debugger
-QT += scripttools
+contains(QT_CONFIG, scripttools):QT += scripttools
include(script/script.pri)
include(parser/parser.pri)