diff options
-rw-r--r-- | src/pdf/doc/qtpdf.qdocconf | 40 | ||||
-rw-r--r-- | src/pdf/pdf.pro | 2 |
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 } |