diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-04-03 15:02:35 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-04-05 11:13:21 +0000 |
commit | faa36b9084994e2f9ffa85241a1e247da79d3fd0 (patch) | |
tree | ccc6d6e3cb8e7731530ed7c15ca6faf77a6d2678 /src/qml/doc/src/cppintegration/topic.qdoc | |
parent | d2ed475b84d872181b872472c742297476c062c2 (diff) |
Doc: add a flowchart to aid choosing the correct C++ => QML integration
http://doc.qt.io/qt-5/qtqml-cppintegration-overview.html is currently a
scary wall of text. A flowchart is something that is very easy to
follow, making it much easier for users to choose the correct
C++ => QML integration method for their situation.
Change-Id: If684126395054c69e4583844aa0d7c0ff525c7a1
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'src/qml/doc/src/cppintegration/topic.qdoc')
-rw-r--r-- | src/qml/doc/src/cppintegration/topic.qdoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qml/doc/src/cppintegration/topic.qdoc b/src/qml/doc/src/cppintegration/topic.qdoc index 6b6e308edf..fbb654378d 100644 --- a/src/qml/doc/src/cppintegration/topic.qdoc +++ b/src/qml/doc/src/cppintegration/topic.qdoc @@ -143,6 +143,12 @@ with a QML module that can then be imported and used by QML code in other applic \l{qtqml-modules-cppplugins.html}{Providing Types and Functionality in a C++ Plugin} for more information. +\section1 Choosing the Correct Integration Method Between C++ and QML + +To quickly determine which integration method is appropriate for your situation, the following +flowchart can be used: + +\image cpp-qml-integration-flowchart \section1 Exposing Attributes of C++ Classes to QML |