summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-10-09 19:11:44 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-10-10 13:02:22 +0000
commit13905766a105e8c05fa5ae83b89732b31919e3bf (patch)
treec7ba5a291495fba334b0c73b7a760d19968a959a /examples
parent05c32802058e65a2ec85321d9c97e18fa38a3c15 (diff)
Doc: Fix issues and enable documentation testing in CI
examples/remoteobjects/clientapp/doc/src/clientapp.qdoc: Cannot find file to quote from: clientapp/qml/plugins1.qml src/remoteobjects/qremoteobjectnode.cpp: Can't link to 'address' Mark the module free of documentation warnings and enable doc testing in the CI. Change-Id: Ia33991e615e74df54a7cebdfbe0aafe65b0c8cdb Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io> Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/remoteobjects/clientapp/doc/src/clientapp.qdoc4
-rw-r--r--examples/remoteobjects/clientapp/plugins1.qml2
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/remoteobjects/clientapp/doc/src/clientapp.qdoc b/examples/remoteobjects/clientapp/doc/src/clientapp.qdoc
index 644ba94..c8d1fd2 100644
--- a/examples/remoteobjects/clientapp/doc/src/clientapp.qdoc
+++ b/examples/remoteobjects/clientapp/doc/src/clientapp.qdoc
@@ -53,7 +53,9 @@
and minutes set to the hour and minute properties of \c Time. The
"plugins2.qml" file is similar but displays two clocks.
- \snippet clientapp/qml/plugins1.qml 0
+ \quotefromfile clientapp/plugins1.qml
+ \skipto /^import/
+ \printuntil
\sa {Time Server Application}
*/
diff --git a/examples/remoteobjects/clientapp/plugins1.qml b/examples/remoteobjects/clientapp/plugins1.qml
index a7de87e..475050a 100644
--- a/examples/remoteobjects/clientapp/plugins1.qml
+++ b/examples/remoteobjects/clientapp/plugins1.qml
@@ -1,6 +1,6 @@
// Copyright (C) 2017 Ford Motor Company
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-//![0]
+
import QtRemoteObjects
import QtQuick
import TimeExample // import types from the plugin