diff options
author | Topi Reinio <topi.reinio@qt.io> | 2018-04-03 14:11:46 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2018-04-05 12:25:51 +0000 |
commit | 51438b29b93e1f9a6233b16ffddc82510072250a (patch) | |
tree | e3d9d22029b307976f108ccdb82c765b02c71f68 /src/activeqt/doc | |
parent | c2fed2369b31a6775aa52473b86ca9e3e07ab707 (diff) | |
download | qtactiveqt-51438b29b93e1f9a6233b16ffddc82510072250a.tar.gz |
Doc: Resolve documentation warnings
Provide a custom module headers and additional include paths to make
Clang parse the C++ documentation correctly. This is needed as
e.g. on Linux, the build system doesn't provide these because the
module is not going to be built on that platform.
Change-Id: Id81c4dbdd546b2dea08d30ebea2717157b6df81c
Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/activeqt/doc')
-rw-r--r-- | src/activeqt/doc/ActiveQtDoc | 15 | ||||
-rw-r--r-- | src/activeqt/doc/activeqt.qdocconf | 12 |
2 files changed, 24 insertions, 3 deletions
diff --git a/src/activeqt/doc/ActiveQtDoc b/src/activeqt/doc/ActiveQtDoc new file mode 100644 index 0000000..4a2b06b --- /dev/null +++ b/src/activeqt/doc/ActiveQtDoc @@ -0,0 +1,15 @@ +#include <QtCore/QtCore> +#include <QtGui/QtGui> +#include <QtWidgets/QtWidgets> + +#include "qaxaggregated.h" +#include "qaxbase.h" +#include "qaxbindable.h" +#include "qaxfactory.h" +#include "qaxobject.h" +#include "qaxscript.h" +#include "qaxselect.h" +#include "qaxtypefunctions.h" +#include "qaxtypes.h" +#include "qaxwidget.h" +#include "qaxutils_p.h" diff --git a/src/activeqt/doc/activeqt.qdocconf b/src/activeqt/doc/activeqt.qdocconf index 09a48a3..d92afeb 100644 --- a/src/activeqt/doc/activeqt.qdocconf +++ b/src/activeqt/doc/activeqt.qdocconf @@ -6,6 +6,14 @@ version = $QT_VERSION qhp.projects = ActiveQt +moduleheader = ActiveQtDoc + +includepaths = -I . \ + -I ../container \ + -I ../control \ + -I ../shared \ + -I $QT_INSTALL_HEADERS + qhp.ActiveQt.file = activeqt.qhp qhp.ActiveQt.namespace = org.qt-project.activeqt.$QT_VERSION_TAG qhp.ActiveQt.virtualFolder = activeqt @@ -33,11 +41,9 @@ depends += qtcore qtdesigner qtdoc qtopengl qtscript qtwidgets q headerdirs += .. -sourcedirs += .. \ - src/examples +sourcedirs += .. exampledirs += ../../../examples/ \ - src/examples/ \ snippets imagedirs += images |