What is the meaning of the //! [n] (n = 0, 1, 2 ...) markup in the C++/QML sources in the Qt sample projects?
For example:
//! [0]
GLWidget::GLWidget(Helper *helper, QWidget *parent)
: QGLWidget(QGLFormat(QGL::SampleBuffers), parent),…
I have a following nested template class inside another template class:
template
struct A
{
template
struct B {};
};
What would be the signature of a non-member operator== for the nested type B? The following naïve…
Problem
Since the upgrade from Qt 5.10 to Qt 5.11 I have started having problems to generate a documentation with QDoc for my existing projects.
One of the many issues are missing functions in the documentation, although the corresponding comments…
Even my question is similar to this one, the answer provided does not solve my issue.
I'm trying to generate my first QDoc output.
To test it, right now I have only one comment in main.cpp:
/*!
* \brief main
* \param argc
* \param argv
*…
I want to generate documentation with QDoc and I tried as the QDoc guide told. I can get documentation, but it's not complete.
I tried both on:
qt 5.11.3, llvm 6.0.1, windows 10
qt 5.12.3, llvm 6.0.1, ubuntu 16.04
but it's all the same.
Here is…
Seems like I just can't find the QDoc executable.
I downloaded Qt 5.11.1.
Do I need to download QDoc separately?
I checked the docs, but all it says is:
To run qdoc from the command line, give it the name of a configuration file:
$ ../../bin/qdoc…
Does QDoc actually support DITAXML documentation? I am able to create HTML documentation but using DITAXML causes this error.
Unknown output format 'DITAXML'
at the following line in .qdocconf file
outputformats = DITAXML
I see the official…
I am trying to build Qt 6.2.4 from source on Windows 10. I run into the following WARNINGs when configuring.
WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt…
I use qdoc for creating code documentation.
I can generate my documents from comments, but I need to delete the old generated files before replacing them with new ones.
As an illustration, when I execute the command qdoc project.qdocconf, it gives…
I made a qml library and I now want to make a documentation. I use QDoc with Qt 5.10.10 with msvc2015 and LLVM 9.0.0.
I would like to display the 2 following data:
inheritance: I tried to use \inherits but I don't see any result. I tried to use an…
Goal
For documentation purposes I would like to export a C++ code snippet from QtCreator as an HTML file and then use CSS to highlight its syntax, for example like that:
Since QtCreator does not have an export option, I am using QDoc to achieve…
I am writting a documentation for my QML project with QDoc. So far, I am able to make a simple one with a description of my functions/signals/properties. Now, I would like to define the inheritance and the important statements like in the Qt doc…
I have recently moved to Qt 5.11.2.
When I try to run qdoc.exe as an external tool from Qt Creator:
%{CurrentProject:QT_INSTALL_BINS}\qdoc.exe
with the following arguments:
%{CurrentProject:Path}/%{CurrentProject:Name}.qdocconf
in the General…
For example, I have two functions A & B like:
void aFunction();
Q_INVOKABLE void bFunction();
Enter /** before function delcaration and press enter:
/**
* @brief A
*/
void aFunction();
/**
Q_INVOKABLE void bFunction();
Is this a BUG?
OS:…
All is in question I provided a simple qdocconf file along with my project but, qbs does not invoke qdoc while the qdocconf is in the files property of the project.
Project.qbs
import qbs
Project {
name: "LoggingMessageHandler"
Product {
…