Hello,
this is my qdocconf file:
#include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
#include($QT_INSTALL_DOCS/global/externalsites.qdocconf)
project = qtestclass
description = qtestclass Reference Documentation
version = $QT_VERSION
language = Cpp
qhp.projects = qtestclass
qhp.qtestclass.file = qtestclass.qhp
qhp.qtestclass.namespace = company.labs.qtestclass.$QT_VERSION_TAG
qhp.qtestclass.virtualFolder = qtestclass
qhp.qtestclass.indexTitle = qtestclass
qhp.qtestclass.indexRoot =
qhp.qtestclass.filterAttributes = qtestclass $QT_VERSION qtrefdoc
qhp.qtestclass.customFilters.Qt.name = qtestclass $QT_VERSION
qhp.qtestclass.customFilters.Qt.filterAttributes = qtestclass $QT_VERSION
outputdir = ./doc/
headerdirs += ..
sourcedirs += ..
sources.fileextensions = "*.cpp *.qdoc *.mm *.qml"
headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx"
navigation.landingpage = "qtestclass"
navigation.qmltypespage = "qtestclass QML Type"
HTML.extraimages += images/qt-codesample.png
qhp.QtDoc.extraFiles += images/qt-codesample.png
# Add an .html file with sidebar content, used in the online style
HTML.stylesheets += style/qt5-sidebar.html
#include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
#include($QT_INSTALL_DOCS/global/externalsites.qdocconf)
project = qtestclass
description = qtestclass Reference Documentation
version = $QT_VERSION
language = Cpp
qhp.projects = qtestclass
qhp.qtestclass.file = qtestclass.qhp
qhp.qtestclass.namespace = company.labs.qtestclass.$QT_VERSION_TAG
qhp.qtestclass.virtualFolder = qtestclass
qhp.qtestclass.indexTitle = qtestclass
qhp.qtestclass.indexRoot =
qhp.qtestclass.filterAttributes = qtestclass $QT_VERSION qtrefdoc
qhp.qtestclass.customFilters.Qt.name = qtestclass $QT_VERSION
qhp.qtestclass.customFilters.Qt.filterAttributes = qtestclass $QT_VERSION
outputdir = ./doc/
headerdirs += ..
sourcedirs += ..
sources.fileextensions = "*.cpp *.qdoc *.mm *.qml"
headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx"
navigation.landingpage = "qtestclass"
navigation.qmltypespage = "qtestclass QML Type"
HTML.extraimages += images/qt-codesample.png
qhp.QtDoc.extraFiles += images/qt-codesample.png
# Add an .html file with sidebar content, used in the online style
HTML.stylesheets += style/qt5-sidebar.html
To copy to clipboard, switch view to plain text mode
Then I make :
qdoc qtestclass.qdocconf
qdoc qtestclass.qdocconf
To copy to clipboard, switch view to plain text mode
This creates: qtestclass.html;qtestclass.index;qtestclass.qhp;qt estclass-members.html
in doc folder.
Then for creating qch:
qhelpgenerator.exe ".\doc\qtestclass.qhp"
qhelpgenerator.exe ".\doc\qtestclass.qhp"
To copy to clipboard, switch view to plain text mode
adding the file to assistant or qtcreator gives me
Die Seite konnte nicht gefunden werden
Fehler beim Laden: qthelp://company.labs.qtestclass.540/qtestclass/index.html
So I read the docs for creating those qdocconf files etc. But I miss a little example which compiles and result in correct documentation.
Bookmarks