qdoc

How to make QDoc shipped with Qt 5.11.2 work under Windows 7?

牧云@^-^@ 提交于 2019-12-12 09:26:03
问题 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 Message panel it is reported that the program is executed and has ended. There is no error, but the documentation is not generated. When I try to run qdoc.exe from the command prompt, I get the following error: The program can't start, because api-ms-win

How to make QDoc shipped with Qt 5.11.2 work under Windows 7?

◇◆丶佛笑我妖孽 提交于 2019-12-04 20:36:23
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 Message panel it is reported that the program is executed and has ended. There is no error, but the documentation is not generated. When I try to run qdoc.exe from the command prompt, I get the following error: The program can't start, because api-ms-win-core-sysinfo-l1-2-0.dll is missing from your computer. Try reinstalling the program to fix this

//! [0] in Qt source code

烂漫一生 提交于 2019-11-27 05:15:37
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), helper(helper) { elapsed = 0; setFixedSize(840, 400); setAutoFillBackground(false); } //! [0] //! [1] void GLWidget::animate() { elapsed = (elapsed + qobject_cast<QTimer*>(sender())->interval()) % 1000; repaint(); } //! [1] //! [2] void GLWidget::paintEvent(QPaintEvent *event) { QPainter painter; painter.begin(this); painter.setRenderHint(QPainter::Antialiasing)

//! [0] in Qt source code

橙三吉。 提交于 2019-11-26 17:33:58
问题 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), helper(helper) { elapsed = 0; setFixedSize(840, 400); setAutoFillBackground(false); } //! [0] //! [1] void GLWidget::animate() { elapsed = (elapsed + qobject_cast<QTimer*>(sender())->interval()) % 1000; repaint(); } //! [1] //! [2] void GLWidget::paintEvent