diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2018-05-11 20:27:26 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2018-05-14 15:17:22 +0000 |
commit | dc88c208b36396f195305a2038d5a39d8e0ef2be (patch) | |
tree | 4b7e03a365cd2a18c62c911d63a8ca22e456f15f /src/ivicore/ivicore.pro | |
parent | 88773675135d61c47cece80c76e02b20de13e06f (diff) |
Fix documentation for 5.11
Moved the qtivi doc into the ivicore source folder and
the qtgeniviextras in the geniviextras source folder.
This is more in line with the rest of qt and also only builds
the documentation for the module when the module is actually
enabled through the configure system.
Also fixed all remaining qdoc errors and moved to the new
syntax needed for documenting templates with the new clang-based
qdoc.
Change-Id: I187bd5848dc79e2231c6c49c9b7a9845edb61817
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'src/ivicore/ivicore.pro')
-rw-r--r-- | src/ivicore/ivicore.pro | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/ivicore/ivicore.pro b/src/ivicore/ivicore.pro index 80dc964..8bfcc09 100644 --- a/src/ivicore/ivicore.pro +++ b/src/ivicore/ivicore.pro @@ -3,9 +3,19 @@ TARGET = QtIviCore QT = core core-private qml qml-private CONFIG += c++11 -OTHER_FILES += \ +build_online_docs: { + QMAKE_DOCS = $$PWD/doc/online/qtivi.qdocconf +} else { + QMAKE_DOCS = $$PWD/doc/qtivi.qdocconf +} + +DISTFILES += \ $$PWD/doc/*.qdocconf \ - $$PWD/doc/src/*.qdoc + $$PWD/doc/online/*.qdocconf \ + $$PWD/doc/src/*.qdoc \ + $$PWD/doc/src/ivigenerator/*.qdoc \ + $$PWD/doc/images/*.jpg \ + $$PWD/doc/images/*.png CMAKE_MODULE_TESTS = '-' @@ -64,3 +74,4 @@ SOURCES += \ include(queryparser/queryparser.pri) load(qt_module) +QMAKE_DOCS_TARGETDIR = qtivi |