diff options
author | Topi Reinio <[email protected]> | 2014-08-26 09:57:09 +0200 |
---|---|---|
committer | Topi Reiniƶ <[email protected]> | 2014-09-10 10:44:00 +0200 |
commit | a0127da1fd1a5146044b74daff4bfa4208868681 (patch) | |
tree | 94825deb2ec83260713e609c6928a313528015dc /doc/src/widgets/qtdesigner-plugins.qdoc | |
parent | 79c0a29deae622239cd0d57dfbe8c10d4e5be68b (diff) |
Doc: Clear a number of documentation warnings
QDoc gets confused about the contents of doc_src_plugins.qdoc,
mistaking some of its code for QDoc commands.
To work around this problem, change the file to be a qdoc
include file, wrap the code blocks with \badcode, and
refer to them using \include.
Using \badcode will also turn off code highlighting and
autolinking, something that is not desired for these code
snippets.
Change-Id: I6c3b65ef098ec6f6f06892d78a3abb38e0d28ca3
Reviewed-by: Leena Miettinen <[email protected]>
Diffstat (limited to 'doc/src/widgets/qtdesigner-plugins.qdoc')
-rw-r--r-- | doc/src/widgets/qtdesigner-plugins.qdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/widgets/qtdesigner-plugins.qdoc b/doc/src/widgets/qtdesigner-plugins.qdoc index accf991c195..2d4a786d701 100644 --- a/doc/src/widgets/qtdesigner-plugins.qdoc +++ b/doc/src/widgets/qtdesigner-plugins.qdoc @@ -85,13 +85,13 @@ \li To check the paths used in the Qwt library, enter the following \c otool command: - \snippet doc_src_plugins.qdoc 0 + \include doc_src_plugins.qdocinc 0 The output for Qwt 5.2.1 indicates that the plugin uses Qt core libraries (QtDesigner, QtScript, QtXml, QtGui and QtCore) and libqwt.5.dylib: - \snippet doc_src_plugins.qdoc 1 + \include doc_src_plugins.qdocinc 1 \li You must copy the \QD plugin and the Qwt library files to the @@ -108,21 +108,21 @@ Enter the following commands: - \snippet doc_src_plugins.qdoc 4 + \include doc_src_plugins.qdocinc 4 \li Enter the following \c otool command to check the libraries that are used by the Qwt library: - \snippet doc_src_plugins.qdoc 2 + \include doc_src_plugins.qdocinc 2 The command returns the following output: - \snippet doc_src_plugins.qdoc 3 + \include doc_src_plugins.qdocinc 3 \li Enter the following \c install_name_tool command to fix the references of the libraries: - \snippet doc_src_plugins.qdoc 5 + \include doc_src_plugins.qdocinc 5 \endlist |