diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-10-21 03:56:12 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-10-21 03:56:49 (GMT) |
commit | 43a14672531040abd285d3004d27c3f1c95a699b (patch) | |
tree | d9102af886dbe80d72eec9413fb857c3816b9c51 /src/declarative/qml/qmlengine.cpp | |
parent | c5a13f58a24487c1240e5592a5c40e5420a5cc35 (diff) | |
download | Qt-43a14672531040abd285d3004d27c3f1c95a699b.zip Qt-43a14672531040abd285d3004d27c3f1c95a699b.tar.gz Qt-43a14672531040abd285d3004d27c3f1c95a699b.tar.bz2 |
Doc
Diffstat (limited to 'src/declarative/qml/qmlengine.cpp')
-rw-r--r-- | src/declarative/qml/qmlengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp index 1d98265..3cd66aa 100644 --- a/src/declarative/qml/qmlengine.cpp +++ b/src/declarative/qml/qmlengine.cpp @@ -650,7 +650,7 @@ QScriptValue QmlEnginePrivate::createComponent(QScriptContext *ctxt, Example (where targetItem is the id of an existing QML item): \code - newObject = createQmlObject('Rectangle {color: "red"; width: 20; height: 20}', + newObject = createQmlObject('import Qt 4.6; Rectangle {color: "red"; width: 20; height: 20}', targetItem, "dynamicSnippet1"); \endcode |