summaryrefslogtreecommitdiff
path: root/doc/src/snippets/declarative/integrating-javascript/includejs/app.qml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/declarative/integrating-javascript/includejs/app.qml')
-rw-r--r--doc/src/snippets/declarative/integrating-javascript/includejs/app.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/declarative/integrating-javascript/includejs/app.qml b/doc/src/snippets/declarative/integrating-javascript/includejs/app.qml
index 8a9462861c..937475d085 100644
--- a/doc/src/snippets/declarative/integrating-javascript/includejs/app.qml
+++ b/doc/src/snippets/declarative/integrating-javascript/includejs/app.qml
@@ -38,7 +38,7 @@
**
****************************************************************************/
//![0]
-import QtQuick 1.0
+import QtQuick 2.0
import "script.js" as MyScript
Item {