summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2014-12-01 11:42:34 +0100
committerLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2014-12-04 12:26:31 +0100
commitd0dac2e9fd5bf710c87bf2ef42228222612bcc9f (patch)
tree09fea965b671b17abd9d905234601384d94af8ea
parent71612e14d7ccbb37f45635f0c227dd0a5dc4c1c9 (diff)
downloadqt-creator-d0dac2e9fd5bf710c87bf2ef42228222612bcc9f.tar.gz
Doc: resetting QML code model
Change-Id: Iaa1764c419bdb05c3d24bc2e3e2ea29130c96633 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
-rw-r--r--doc/src/editors/creator-editors.qdoc23
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/src/editors/creator-editors.qdoc b/doc/src/editors/creator-editors.qdoc
index d9e540c402..b792b6cf05 100644
--- a/doc/src/editors/creator-editors.qdoc
+++ b/doc/src/editors/creator-editors.qdoc
@@ -725,10 +725,31 @@
\li M324
\li Warning
\li Using Qt Quick 1 code model instead of Qt Quick 2
- \li
+ \li The code model might be corrupt or the QML emulation layer might
+ have been built with a different Qt version than the one selected
+ in the build and run kit. For more information, see
+ \l {Resetting the Code Model} and
+ \l {Running QML Modules in Qt Quick Designer}.
\endtable
+ \section1 Resetting the Code Model
+
+ If you change the build and run kit when you have QML files open in the code
+ editor, the code model might become corrupt. The following error message
+ indicates that this might have happened: \e{Using Qt Quick 1 code model
+ instead of Qt Quick 2}.
+
+ You can see the error message when you move the mouse pointer over code that
+ \QC underlines in the code editor or when you open a QML file in the
+ \gui Design mode.
+
+ To reset the code model, select \gui Tools > \gui {QML/JS} >
+ \gui {Reset Code Model}.
+
+ If this does not help, try changing the QML emulation layer to the one that
+ was built with the same Qt version as the one selected in the build and run
+ kit. For more information, see \l{Running QML Modules in Qt Quick Designer}.
*/