Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is QDoc an available tool ?If not, why there are no warnings in documentation
Stephen INF last edited by aha_1980
I really tried,but still don't know how to make it work to generate C++ ducumentation.Has anyone successfully used it？(Since Qt 5.11)
Thanks for any suggestions.
Has anyone successfully used it？(Since Qt 5.11)
All Qt docs are generated with it, so it surely works. And generating Qt documentation is its primary goal.
But if you have problems, why not use doxygen?
Stephen INF last edited by
I also tried QDoc and after long time of checking paths and trying older versions of LLVM
i gave up.
It always says
/QDocTester/mainwindow.cpp:27: (qdoc) warning: clang found diagnostics parsing \fn MainWindow::MainWindow(QWidget *parent)
error: use of undeclared identifier 'MainWindow'
error: unknown type name 'QWidget'
if it sees a /fn tag
(tried other types/classes too )
tried various ways to tell where to look with the config.qdocconf
file but either currentdir (.) or full path seems to make a difference.
But most other tags works. it does produce output
just not for /fn.