From 63c8b25ad15e40259888034697a87ac7727f5056 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Thu, 11 Sep 2014 15:30:11 +0200 Subject: Doc: document QML emulation layer And the new option to have Qt Creator build the emulation layer using the kit selected for the project. Change-Id: I16b3d9e87f21caf7a4ecd1a527df51035494fb34 Reviewed-by: Thomas Hartmann --- doc/src/qtquick/qtquick-modules-with-plugins.qdoc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/src/qtquick/qtquick-modules-with-plugins.qdoc b/doc/src/qtquick/qtquick-modules-with-plugins.qdoc index cc374bb065..cc0586bed0 100644 --- a/doc/src/qtquick/qtquick-modules-with-plugins.qdoc +++ b/doc/src/qtquick/qtquick-modules-with-plugins.qdoc @@ -84,4 +84,20 @@ However, this automatic dumping is a fallback mechanism with many points of failure and you cannot rely upon it. + \section1 Running QML Modules in Qt Quick Designer + + \QMLD uses a QML emulation layer (also called QML Puppet) to render and + preview images and to collect data. To be able to render custom types + correctly from QML modules, the emulation layer must be built with the same + Qt version as the QML modules. + + By default, the emulation layer is provided by \QC and built with the same + Qt version as \QC. Therefore, your QML modules will mostly not work out of + the box. + + To use an emulation layer that is built with the Qt + configured in the build and run kit for the project, deselect the + \gui {Always use the QML emulation layer provided by Qt Creator} check box. + \QC builds the emulation layer when you select the \gui Design mode. + */ -- cgit v1.2.1