summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/videographicsitem/doc/src/videographicsitem.qdoc
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-08-30 20:30:26 +0200
committerNicholas Bennett <nicholas.bennett@qt.io>2022-09-22 07:07:37 +0000
commitff2ec90494c3b0ae3368a1972fa00bb4423fc3aa (patch)
tree31acb52345cf519f5edf6209f1826cbbdc665f99 /examples/multimedia/videographicsitem/doc/src/videographicsitem.qdoc
parentf49fd679c9f52a8ad4a8a1bbf12c79b04a23ccbe (diff)
Let examples show up in Qt Creator again
Fix an issue where the relative paths in the generated examples-manifest.xml did miss the parent directory, effectively blocking the examples from being shown in the Qt Creator Welcome screen. This broke in commit c403e775f60a, where the exampledirs path was changed from "../../../examples" to "../../../examples/multimedia" and "../../../examples/multimediawidgets". This made qdoc miss the "multimedia" and "multimediawidgets" directories in the generated paths. To fix this, the patch * moves all the multimediawidgets examples to multimedia * sets examplesinstallpath to "multimedia" The unification of directories is needed because there can be only one examplesinstallpath per qdoc project. Fixes: QTBUG-104943 Change-Id: I4d1b1f857563ec23b4d60028ca08d0470ba96298 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io> Reviewed-by: Lars Knoll <lars@knoll.priv.no> (cherry picked from commit c3081f86f4fc53509d853a2b88aff88df8c55d87) Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/multimedia/videographicsitem/doc/src/videographicsitem.qdoc')
-rw-r--r--examples/multimedia/videographicsitem/doc/src/videographicsitem.qdoc19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/multimedia/videographicsitem/doc/src/videographicsitem.qdoc b/examples/multimedia/videographicsitem/doc/src/videographicsitem.qdoc
new file mode 100644
index 000000000..5dcb7143e
--- /dev/null
+++ b/examples/multimedia/videographicsitem/doc/src/videographicsitem.qdoc
@@ -0,0 +1,19 @@
+// Copyright (C) 2015 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
+
+/*!
+ \example videographicsitem
+ \title Video Graphics Item Example
+ \ingroup multimedia_examples
+ \brief Streaming video on a graphics scene.
+ \meta {tag} {widgets}
+
+ \e{Video Graphics Item} demonstrates how to implement a QGraphicsItem that
+ displays video on a graphics scene using QVideoSink.
+
+ \image video-videographicsitem.png
+
+ \sa {Video Widget Example}
+
+ \include examples-run.qdocinc
+*/