summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Koenig <tobias.koenig@kdab.com>2018-02-09 09:22:58 +0100
committerTobias Koenig <tobias.koenig@kdab.com>2018-02-18 11:28:05 +0000
commitd4e9cbc6b0adb53f6cd25352207c05790b264372 (patch)
treef3851c3378c33f77698b185a0fa45d9f71e72e8c
parent5e44d355234b87dd102f209e73a2cc465f0df1b5 (diff)
Add qdocconf for the QtPdf module
Change-Id: I4fdd53098c32394dbeef58f49b511453079045f9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--src/pdf/doc/qtpdf.qdocconf40
-rw-r--r--src/pdf/pdf.pro2
2 files changed, 42 insertions, 0 deletions
diff --git a/src/pdf/doc/qtpdf.qdocconf b/src/pdf/doc/qtpdf.qdocconf
new file mode 100644
index 0000000..0237cd3
--- /dev/null
+++ b/src/pdf/doc/qtpdf.qdocconf
@@ -0,0 +1,40 @@
+include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
+
+project = QtPdf
+description = Qt Pdf Reference Documentation
+version = $QT_VERSION
+
+qhp.projects = QtPdf
+
+qhp.QtPdf.file = qtpdf.qhp
+qhp.QtPdf.namespace = org.qt-project.qtpdf.$QT_VERSION_TAG
+qhp.QtPdf.virtualFolder = qtpdf
+qhp.QtPdf.indexTitle = Qt PDF
+qhp.QtPdf.indexRoot =
+
+qhp.QtPdf.filterAttributes = qtpdf $QT_VERSION qtrefdoc
+qhp.QtPdf.customFilters.Qt.name = QtPdf $QT_VERSION
+qhp.QtPdf.customFilters.Qt.filterAttributes = qtpdf $QT_VERSION
+qhp.QtPdf.subprojects = classes
+qhp.QtPdf.subprojects.classes.title = C++ Classes
+qhp.QtPdf.subprojects.classes.indexTitle = Qt PDF C++ Classes
+qhp.QtPdf.subprojects.classes.selectors = class fake:headerfile
+qhp.QtPdf.subprojects.classes.sortPages = true
+
+depends += qtcore \
+ qtwidgets \
+ qtgui \
+ qtdoc \
+ qmake
+
+headerdirs += ..
+
+sourcedirs += ..
+
+exampledirs += ../../../examples/pdf \
+ snippets/
+
+imagedirs += images
+
+navigation.landingpage = "Qt PDF"
+navigation.cppclassespage = "Qt PDF C++ Classes"
diff --git a/src/pdf/pdf.pro b/src/pdf/pdf.pro
index dd2df76..e872eb5 100644
--- a/src/pdf/pdf.pro
+++ b/src/pdf/pdf.pro
@@ -12,6 +12,8 @@ load(qt_module)
LIBS_PRIVATE += -L$$MODULE_BASE_OUTDIR/lib -lqtpdfium$$qtPlatformTargetSuffix()
+QMAKE_DOCS = $$PWD/doc/qtpdf.qdocconf
+
gcc {
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
}