Hi,
I have some problems with qdoc documentation generation. I have a digia made config file for qdoc (see down below)
Other than that some qdoc comments like
/*!
\qmltype flipButton
\inqmlmodule Components
\brief component that flips a button.
This example makes use of a state machine to illustrate the power of
designed screens.
\section1 Aliases
Also it shows how to work with aliases.
\code property alias text:flipperToggle.text
\endcode
\sa SimpleFlipper
*/
/*!
\qmltype flipButton
\inqmlmodule Components
\brief component that flips a button.
This example makes use of a state machine to illustrate the power of
designed screens.
\section1 Aliases
Also it shows how to work with aliases.
\code property alias text:flipperToggle.text
\endcode
\sa SimpleFlipper
*/
To copy to clipboard, switch view to plain text mode
I like to provide some info about the qmlmodule "Components". I have added a comment to myApp.qml like this
/*!
\qmlmodule Components
\brief This module has some example components that flip a button on a click.
We explain more about this here.
*/
/*!
\qmlmodule Components
\brief This module has some example components that flip a button on a click.
We explain more about this here.
*/
To copy to clipboard, switch view to plain text mode
Still I get warnings like this. Why is my comment for "Components" ignored? Why a warning about 'global' ?
Beside of that in the part "List of all members, including inherited members" there seem to be no inherited members? Why is that?
qdoc: warning: No documentation for 'Components'
qdoc: warning: No documentation for 'global'
qdoc: warning: No documentation for 'Components'
qdoc: warning: No documentation for 'global'
To copy to clipboard, switch view to plain text mode
# Documentation configuration.
project = myApp
description = Uxp Application
url = http://qt-project.org/
version = 0.0
qhp.projects = myApp
qhp.myApp.file = myApp.qhp
qhp.myApp.namespace = myApp
qhp.myApp.virtualFolder = myApp
qhp.myApp.indexTitle = myApp
qhp.myApp.indexRoot =
qhp.extraFiles += style/online.css
sourcedirs += . \
opt/Uxp/Applications/myApp/Components \
opt/Uxp/Applications/myApp/Pages
sources.fileextensions += *.qml
imagedirs += opt/Uxp/Applications/myApp/Pictures
outputdir = doc
HTML.headerstyles = \
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/online.css\" />\n"
HTML.endheader = \
"</head>\n"
HTML.postheader = \
"<body>\n" \
"<div class=\"header\" id=\"qtdocheader\"></div>\n" \
" <div class=\"nav\" id=\"qt13a-header\">\n" \
" <div class=\"qt13a-gradient\">\n" \
" <div class=\"qt13a-container qt13a-dynamicREMOVE\" >\n" \
" <div id=\"qt13a-register\">\n" \
" <a href=\"http://qt-project.org/\">Qt Home</a>\n" \
" <a href=\"https://bugreports.qt-project.org/\">Bug Tracker</a>\n" \
" <a href=\"https://codereview.qt-project.org/\">Code Review</a>\n" \
" </div>\n" \
" <div class=\"qt13a-sixCol\">\n" \
" <div id=\"qt13a-title_nav\">\n" \
" <div id=\"qt13a-title\">\n" \
" <p class=\"qt13a-title\">myApp documentation</p>\n" \
" </div>\n" \
" </div>\n" \
" </div>\n" \
" </div>\n" \
" </div>\n" \
" </div>\n" \
" <div class=\"main\">\n" \
" <div class=\"main-rounded\">\n" \
" <div class=\"navigationbar\">\n" \
" <ul>\n" \
HTML.postpostheader = \
" </ul>\n" \
" </div>\n" \
"<div class=\"content\">\n" \
" <div class=\"line\">\n" \
" <div class=\"content mainContent\">\n" \
HTML.stylesheets = online.css
# Documentation configuration.
project = myApp
description = Uxp Application
url = http://qt-project.org/
version = 0.0
qhp.projects = myApp
qhp.myApp.file = myApp.qhp
qhp.myApp.namespace = myApp
qhp.myApp.virtualFolder = myApp
qhp.myApp.indexTitle = myApp
qhp.myApp.indexRoot =
qhp.extraFiles += style/online.css
sourcedirs += . \
opt/Uxp/Applications/myApp/Components \
opt/Uxp/Applications/myApp/Pages
sources.fileextensions += *.qml
imagedirs += opt/Uxp/Applications/myApp/Pictures
outputdir = doc
HTML.headerstyles = \
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/online.css\" />\n"
HTML.endheader = \
"</head>\n"
HTML.postheader = \
"<body>\n" \
"<div class=\"header\" id=\"qtdocheader\"></div>\n" \
" <div class=\"nav\" id=\"qt13a-header\">\n" \
" <div class=\"qt13a-gradient\">\n" \
" <div class=\"qt13a-container qt13a-dynamicREMOVE\" >\n" \
" <div id=\"qt13a-register\">\n" \
" <a href=\"http://qt-project.org/\">Qt Home</a>\n" \
" <a href=\"https://bugreports.qt-project.org/\">Bug Tracker</a>\n" \
" <a href=\"https://codereview.qt-project.org/\">Code Review</a>\n" \
" </div>\n" \
" <div class=\"qt13a-sixCol\">\n" \
" <div id=\"qt13a-title_nav\">\n" \
" <div id=\"qt13a-title\">\n" \
" <p class=\"qt13a-title\">myApp documentation</p>\n" \
" </div>\n" \
" </div>\n" \
" </div>\n" \
" </div>\n" \
" </div>\n" \
" </div>\n" \
" <div class=\"main\">\n" \
" <div class=\"main-rounded\">\n" \
" <div class=\"navigationbar\">\n" \
" <ul>\n" \
HTML.postpostheader = \
" </ul>\n" \
" </div>\n" \
"<div class=\"content\">\n" \
" <div class=\"line\">\n" \
" <div class=\"content mainContent\">\n" \
HTML.stylesheets = online.css
To copy to clipboard, switch view to plain text mode
Bookmarks