summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-03-08 12:18:58 +0100
committerMitch Curtis <mitch.curtis@qt.io>2019-03-21 09:07:48 +0000
commit8ed74406c0c2bf9a8d82f95a300013403ae44488 (patch)
tree541e1f2dbd8cc0990bb12eab6999a9e2e81061ba
parent470f8fc2b0fe6820d74098807d887284abcf2d62 (diff)
Doc: improve QUICK_TEST_MAIN_WITH_SETUP function descriptions
Change-Id: I83c8a3cb8d125df83deaefdbb08b4271eda8a5b4 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/qmltest/doc/src/qtquicktest-index.qdoc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/qmltest/doc/src/qtquicktest-index.qdoc b/src/qmltest/doc/src/qtquicktest-index.qdoc
index f7c1ca4911..bee160f6e8 100644
--- a/src/qmltest/doc/src/qtquicktest-index.qdoc
+++ b/src/qmltest/doc/src/qtquicktest-index.qdoc
@@ -154,8 +154,8 @@
\row
\li void applicationAvailable()
\li Called right after the QApplication object was instantiated.
- Use this function to setup everything that is not related
- to QML directly.
+ Use this function to perform setup that does not require a
+ \l QQmlEngine instance.
\li Qt 5.12
\row
\li void qmlEngineAvailable(QQmlEngine*)
@@ -164,6 +164,11 @@
\l {QQmlEngine::addPluginPath}{plugin paths},
and \l {QQmlFileSelector::setExtraSelectors}{extra file selectors}
will have been set on the engine by this point.
+
+ This function can be used to \l {Choosing the Correct Integration
+ Method Between C++ and QML}{register QML types} and
+ \l {QQmlEngine::addImportPath()}{add import paths},
+ amongst other things.
\li Qt 5.11
\row
\li void cleanupTestCase()