summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-03-08 12:09:17 +0100
committerMitch Curtis <mitch.curtis@qt.io>2019-03-21 09:07:41 +0000
commit470f8fc2b0fe6820d74098807d887284abcf2d62 (patch)
treee45a4cb670378f25bf74f1a57b91872866e1eb89
parent2fcbb80e3306d809b708cf46c0f6d0852fe87e17 (diff)
Document since versions for QUICK_TEST_MAIN_WITH_SETUP functions
- qmlEngineAvailable() 5.11 c260d3062de83d7f051e531007771455915285e5 - applicationAvailable() 5.12 ef06a6ba7bfb5e38b1bef2e21a764ec74479b158 - cleanupTestCase() 5.12 7bf8d4d3772959f06d4dd0168af7774adde29d76 Change-Id: I7b6b699121248c5ad35a7ee2c99eb3f3c77fd01f Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/qmltest/doc/src/qtquicktest-index.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qmltest/doc/src/qtquicktest-index.qdoc b/src/qmltest/doc/src/qtquicktest-index.qdoc
index dfd15b706b..f7c1ca4911 100644
--- a/src/qmltest/doc/src/qtquicktest-index.qdoc
+++ b/src/qmltest/doc/src/qtquicktest-index.qdoc
@@ -150,11 +150,13 @@
\header
\li Name
\li Purpose
+ \li Since
\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.
+ \li Qt 5.12
\row
\li void qmlEngineAvailable(QQmlEngine*)
\li Called when the QML engine is available.
@@ -162,10 +164,12 @@
\l {QQmlEngine::addPluginPath}{plugin paths},
and \l {QQmlFileSelector::setExtraSelectors}{extra file selectors}
will have been set on the engine by this point.
+ \li Qt 5.11
\row
\li void cleanupTestCase()
\li Called right after the test execution has finished.
Use this function to clean up before everything will start to be destructed.
+ \li Qt 5.12
\endtable
Each function will be called once for each \c tst_*.qml file, so any