Docs: Update Qt Dice example documentation

Added the required modules to the note, updated the brief.

Pick-to: 6.7 6.7.0
Change-Id: I2515aaeec95dd7825794b784d7799920a2624b43
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
This commit is contained in:
Nicholas Bennett 2024-03-11 15:34:55 +02:00
parent 939b7c96c8
commit 5a62cbe268
1 changed files with 9 additions and 4 deletions

View File

@ -5,8 +5,8 @@
\title Dice \title Dice
\ingroup qtquickdemos \ingroup qtquickdemos
\example demos/dice \example demos/dice
\brief A dice throwing application that demonstrates using Qt Quick 3D Physics \brief A dice throwing application using Qt Quick 3D Physics and other
and Qt Quick 3D. Qt Modules.
\examplecategory {Application Examples} \examplecategory {Application Examples}
\examplecategory {Mobile} \examplecategory {Mobile}
\meta {tag} {quick,3d,physics, multimedia, sensors} \meta {tag} {quick,3d,physics, multimedia, sensors}
@ -15,6 +15,7 @@
\image dice-screenshot.webp \image dice-screenshot.webp
\section1 Overview \section1 Overview
This example application allows you to roll some dice on a table. It's This example application allows you to roll some dice on a table. It's
implemented with QML and relies on a number of Qt modules that are detailed implemented with QML and relies on a number of Qt modules that are detailed
in the following sections. in the following sections.
@ -49,7 +50,11 @@
A \l{Qt Quick} UI is provided for configuring the physical material of A \l{Qt Quick} UI is provided for configuring the physical material of
the simulated dice, the magnitude of gravity, and the number and size of dice. the simulated dice, the magnitude of gravity, and the number and size of dice.
\include examples-run.qdocinc \include examples-run.qdocinc
\include examples/qtquick3d.qdocinc
\note The example makes use of the \l{Qt Quick 3D}, \l{Qt Multimedia},
\l{Qt Quick 3D Physics} and \l{Qt Sensors} modules which are separate items
in the \l{Get and Install Qt}{Qt Online Installer}. If the example fails to
configure, please make sure that you have these required packages installed.
*/ */