summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-10-29 19:39:30 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-11-19 12:28:45 +0100
commit5126e461a22cd076cb3d0516500a4f3a06b50dac (patch)
tree572ccd6e2db89027e539f18b7e64a69e23c848f7 /src
parentf978fe26c8e10f172035b782d874acc6957d9818 (diff)
Doc: Fix documentation warnings for Qt Test
Task-number: QTBUG-86295 Change-Id: If3c48bee8c898a228128ade18fbdeaa2b8de8b20 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/testlib/doc/snippets/code/code.pro6
-rw-r--r--src/testlib/doc/src/qttest-index.qdoc4
-rw-r--r--src/testlib/doc/src/qttestlib-manual.qdoc2
-rw-r--r--src/testlib/qtestelementattribute.cpp4
4 files changed, 12 insertions, 4 deletions
diff --git a/src/testlib/doc/snippets/code/code.pro b/src/testlib/doc/snippets/code/code.pro
index a64dae9878..ddd5f9b261 100644
--- a/src/testlib/doc/snippets/code/code.pro
+++ b/src/testlib/doc/snippets/code/code.pro
@@ -1,6 +1,10 @@
TEMPLATE = lib
TARGET = code_snippets
-QT += core sql testlib widgets
+QT += core sql widgets
+
+#! [qmake_use]
+QT += testlib
+#! [qmake_use]
SOURCES = \
doc_src_qtestevent.cpp \
diff --git a/src/testlib/doc/src/qttest-index.qdoc b/src/testlib/doc/src/qttest-index.qdoc
index 9c230afb88..37fd5a9832 100644
--- a/src/testlib/doc/src/qttest-index.qdoc
+++ b/src/testlib/doc/src/qttest-index.qdoc
@@ -43,10 +43,10 @@
\include module-use.qdocinc using qt module
\snippet snippets/CMakeLists.txt cmake_use
- See also the \l[QtDoc]{Build with CMake} overview.
+ See also the \l {Build with CMake} overview.
\include module-use.qdocinc building with qmake
- \snippet snippets/snippets.pro qmake_use
+ \snippet snippets/code/code.pro qmake_use
\section1 Articles and Guides
diff --git a/src/testlib/doc/src/qttestlib-manual.qdoc b/src/testlib/doc/src/qttestlib-manual.qdoc
index f3ef20a71d..87ac565278 100644
--- a/src/testlib/doc/src/qttestlib-manual.qdoc
+++ b/src/testlib/doc/src/qttestlib-manual.qdoc
@@ -167,7 +167,7 @@
\quotefile code/doc_src_cmakelists.txt
- For more information about the options you have, see \l [QtDoc]{Build with CMake}.
+ For more information about the options you have, see \l {Build with CMake}.
\section2 Building with qmake
diff --git a/src/testlib/qtestelementattribute.cpp b/src/testlib/qtestelementattribute.cpp
index 134804a060..595ecda6cc 100644
--- a/src/testlib/qtestelementattribute.cpp
+++ b/src/testlib/qtestelementattribute.cpp
@@ -80,6 +80,10 @@ QT_BEGIN_NAMESPACE
\value AI_Value
\value AI_Iterations
+
+ \value AI_Time
+
+ \value AI_Timestamp
*/
/*! \enum QTest::LogElementType