diff options
Diffstat (limited to 'doc/src/snippets/declarative/integrating-javascript')
-rw-r--r-- | doc/src/snippets/declarative/integrating-javascript/connectjs.qml | 2 | ||||
-rw-r--r-- | doc/src/snippets/declarative/integrating-javascript/includejs/app.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/declarative/integrating-javascript/connectjs.qml b/doc/src/snippets/declarative/integrating-javascript/connectjs.qml index c58633ea01..c6c9ff469b 100644 --- a/doc/src/snippets/declarative/integrating-javascript/connectjs.qml +++ b/doc/src/snippets/declarative/integrating-javascript/connectjs.qml @@ -38,7 +38,7 @@ ** ****************************************************************************/ //![0] -import QtQuick 1.0 +import QtQuick 2.0 import "script.js" as MyScript Item { 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 { |