diff options
Diffstat (limited to 'src/location/doc/src/qtlocation.qdoc')
-rw-r--r-- | src/location/doc/src/qtlocation.qdoc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/location/doc/src/qtlocation.qdoc b/src/location/doc/src/qtlocation.qdoc index 1f27a14a..77c2cd99 100644 --- a/src/location/doc/src/qtlocation.qdoc +++ b/src/location/doc/src/qtlocation.qdoc @@ -45,12 +45,16 @@ Include the appropriate header in your C++ code. For example, applications using routes can include: - \code #include <QGeoRoute> \endcode + \code + #include <QGeoRoute> + \endcode Add the \e location keyword in the project file to link against the Qt Location library: - \code QT += location \endcode + \badcode + QT += location + \endcode See more in the \l{Qt Location}{Qt Location Overview}. @@ -95,11 +99,15 @@ import the QtPositioning module as well. For C++ projects include the header appropriate for the current use case, for example applications using routes may use -\code #include <QGeoRoute> \endcode +\code +#include <QGeoRoute> +\endcode The .pro file should have the \e location keyword added -\code QT += location \endcode +\code +QT += location +\endcode \section2 Submodules |