diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2018-08-30 12:36:23 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2018-09-07 08:59:48 +0000 |
commit | fdbcfc6756035331a3b038d7406e761860e641eb (patch) | |
tree | d66bf41c359fbfb0fda9c296f9655173f1201a0b /doc/src/qtquick | |
parent | aa588449b0a4f639459bb2a0933656145f0d5dd6 (diff) | |
download | qt-creator-fdbcfc6756035331a3b038d7406e761860e641eb.tar.gz |
Doc: Use defines to hide info not related to Qt Quick projects
Change-Id: I70ee417aebcddd32ef9f6419e3000fdfd02c9707
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'doc/src/qtquick')
-rw-r--r-- | doc/src/qtquick/qtquick-profiler.qdoc | 6 | ||||
-rw-r--r-- | doc/src/qtquick/qtquick-states.qdoc | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/qtquick/qtquick-profiler.qdoc b/doc/src/qtquick/qtquick-profiler.qdoc index 939c0b5081..cd934eb55d 100644 --- a/doc/src/qtquick/qtquick-profiler.qdoc +++ b/doc/src/qtquick/qtquick-profiler.qdoc @@ -51,9 +51,11 @@ Another typical cause for similar performance problems is creating, painting, or updating invisible items, which takes time in the GUI thread. + \if defined(qtcreator) Triggering long-running C++ functions, such as paint methods and signal handlers, also takes time in the GUI thread, but is more difficult to see in the QML Profiler, because it does not profile C++ code. + \endif To find excessive use of JavaScript, check the frame rate in animations and Scene Graph events, look for gaps, and check whether the application behaves @@ -67,10 +69,12 @@ are never visible to the users, because they are located outside the screen or hidden beneath other, visible elements. + \if defined(qtcreator) If frames get dropped even though JavaScript is not being run, and there are large, unexplained gaps in the timeline, check your custom QQuickItem implementations. You can use \l{Using Valgrind Code Analysis Tools} {Valgrind} or other general purpose profilers to analyze C++ code. + \endif \section1 Using QML Profiler @@ -82,8 +86,10 @@ for the project. For more information, see \l{Setting Up QML Debugging}. + \if defined(qtcreator) \li In the \uicontrol Projects mode, select a \l{glossary-buildandrun-kit} {kit} with Qt version 4.7.4 or later. + \endif \note To profile applications on \l{glossary-device}{devices}, you must install Qt 4.7.4 or later libraries on them. diff --git a/doc/src/qtquick/qtquick-states.qdoc b/doc/src/qtquick/qtquick-states.qdoc index e03355a0a5..f476026d55 100644 --- a/doc/src/qtquick/qtquick-states.qdoc +++ b/doc/src/qtquick/qtquick-states.qdoc @@ -143,7 +143,9 @@ \endqml \endlist + \if defined(qtcreator) \include qtquick-states-scxml.qdocinc scxml state machines + \endif \section1 Animating Transitions Between States |