Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Qt5APIDocumentation: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=Qt 5 <span class="caps">API</span> Documentation=
h1. Qt 5 API Documentation


Essentially, for each module we need:
Essentially, for each module we need:<br />* '''A''' - landing page (using the command) [[QtLandingPage | see specifications]]<br />* '''B''' - example page<br />* '''C''' - c++ class list (using the command)<br />* '''D''' - qml type list (command)


* '''A''' – landing page (using the \page command) [[QtLandingPage|see specifications]]
For example: Qt 3D:<br />* -module name is 'Qt 3D'<br />* -library in the module is 'Qt3D'<br />* -landing page is qt3d-index.html with title 'Qt 3D' (http://doc-snapshot.qt.io/5.0/qt3d-index.html)<br />* -c++ list has title 'Qt 3D C++ Classes'<br />* -qml list has title 'Qt 3D QML Types'<br />* -qt3d-examples.html for the example page
* '''B''' – example page
* '''C''' – c++ class list (using the \module command)
* '''D''' – qml type list (\qmlmodule command)


For example: Qt 3D:
This is to clearly distinguish the pages because and pages confuse people with the word 'module' in it. Meaning, lets minimize the generic use of 'module'.<br />The other thing to watch out for is the library name versus module name. Avoid 'Qt3D' when referring to Qt 3D. [[Spelling_Module_Names_in_Qt_Documentation]] lists the names.


* -module name is ‘Qt 3D’
===== qdocconf files =====
* -library in the module is ‘Qt3D’
* -landing page is qt3d-index.html with title ‘Qt 3D’ (http://doc-snapshot.qt.io/5.0/qt3d-index.html)
* -c++ list has title ‘Qt 3D C++ Classes’
* -qml list has title ‘Qt 3D <span class="caps">QML</span> Types’
* -qt3d-examples.html for the example page


This is to clearly distinguish the pages because \qmlmodule and \module pages confuse people with the word ‘module’ in it. Meaning, lets minimize the generic use of ‘module’.<br /> The other thing to watch out for is the library name versus module name. Avoid ‘Qt3D’ when referring to Qt 3D. [[Spelling Module Names in Qt Documentation|Spelling_Module_Names_in_Qt_Documentation]] lists the names.
Each module needs a &quot;qdocconf&amp;quot;:http://doc-snapshot.qt.io/qdoc/qdoc-guide-conf.html file to generate a documentation set for each module.<br />Because of the [[Qt_Documentation_Structure | documentation structure]], there is a common qdocconf file and template modules may use.
 
=====qdocconf files=====
 
Each module needs a [http://doc-snapshot.qt.io/qdoc/qdoc-guide-conf.html qdocconf] ''[doc-snapshot.qt.io]'' file to generate a documentation set for each module.<br /> Because of the [[Qt Documentation Structure|documentation structure]], there is a common qdocconf file and template modules may use.


* [[Qt5ModuleQDocconf]]
* [[Qt5ModuleQDocconf]]


===Process===
=== Process ===


Each module has a main contact for document issues who can oversee the modularization and documentation issues. This responsible person does not need to be a module maintainer. For classes, an individual may edit documentation for technical and style correctness.
Each module has a main contact for document issues who can oversee the modularization and documentation issues. This responsible person does not need to be a module maintainer. For classes, an individual may edit documentation for technical and style correctness.
Line 31: Line 19:
To sign up for the individual, you may sign up at [[Qt5ClassDocumentationCleanUp]].
To sign up for the individual, you may sign up at [[Qt5ClassDocumentationCleanUp]].


The [[:Category:Developing Qt::Documentation|Documentation]] page has information about contributing to the documentation.
The [[:Category:Developing_Qt::Documentation|Documentation]] page has information about contributing to the documentation.


===Essentials {| class="infotable line" |- style="background: #009900" ! Git repo ! Module ! Responsible ! Status (A,B,C,D) ! <span class="caps">URL</span> ! Comment ! qdocconf ! Release |- | qtbase | Qt Core | Thiago | | http://doc-snapshot.qt.io/5.0/qtcore-index.html | | | Qt 5.0 |- | qtbase | Qt <span class="caps">GUI</span> | Samuel | <span class="caps">ABC</span> | http://doc-snapshot.qt.io/5.0/qtgui-overview.html | | | Qt 5.0 |- | qtbase | Qt Network | Jerome | <span class="caps">ABCD</span> | http://doc-snapshot.qt.io/5.0/qtnetwork-index.html | | OK | Qt 5.0 |- | qtbase | Qt <span class="caps">SQL</span> | Jerome | <span class="caps">ABCD</span> | http://doc-snapshot.qt.io/5.0/qtsql-index.html | | OK | Qt 5.0 |- | qtbase | Qt Test | Leena | AC | | In Gerrit | OK | Qt 5.0 |- | qtdeclarative | Qt <span class="caps">QML</span> | Jerome | <span class="caps">ABC</span> | http://doc-snapshot.qt.io/5.0/qtqml-index.html | Qt Quick contains the <span class="caps">QML</span> types | OK | Qt 5.0 |- | qtdeclarative | Qt Quick | Jerome | <span class="caps">ABCD</span> | http://doc-snapshot.qt.io/5.0/qtquick-index.html | | OK | Qt 5.0 |- | qtmultimedia | Qt Multimedia | Venugopal | <span class="caps">ABCD</span> | http://doc-snapshot.qt.io/5.0/qtmultimedia-index.html | | OK | Qt 5.0 |- | qtwebkit | Qt WebKit | Pierre | | http://doc-snapshot.qt.io/5.0/qtwebkit-module.html | candidate landing page (needs editing) | | Qt 5.0 |}===
=== Essentials<br />{background:#009900}. |''. Git repo |''. Module |''. Responsible |''. Status (A,B,C,D) |''. URL |''. Comment |''. qdocconf |''. Release |<br />| qtbase | Qt Core | Thiago | | http://doc-snapshot.qt.io/5.0/qtcore-index.html | | | Qt 5.0 |<br />| qtbase | Qt GUI | Samuel | ABC | http://doc-snapshot.qt.io/5.0/qtgui-overview.html | | | Qt 5.0 |<br />| qtbase | Qt Network | Jerome | ABCD | http://doc-snapshot.qt.io/5.0/qtnetwork-index.html | | OK | Qt 5.0 |<br />| qtbase | Qt SQL |Jerome | ABCD | http://doc-snapshot.qt.io/5.0/qtsql-index.html | | OK | Qt 5.0 |<br />| qtbase | Qt Test | Leena | AC | | In Gerrit | OK | Qt 5.0 |<br />| qtdeclarative | Qt QML | Jerome | ABC | http://doc-snapshot.qt.io/5.0/qtqml-index.html | Qt Quick contains the QML types | OK | Qt 5.0 |<br />| qtdeclarative | Qt Quick | Jerome | ABCD | http://doc-snapshot.qt.io/5.0/qtquick-index.html | | OK | Qt 5.0 |<br />| qtmultimedia | Qt Multimedia | Venugopal | ABCD | http://doc-snapshot.qt.io/5.0/qtmultimedia-index.html | | OK | Qt 5.0 |<br />| qtwebkit | Qt WebKit | Pierre | | http://doc-snapshot.qt.io/5.0/qtwebkit-module.html | candidate landing page (needs editing) | | Qt 5.0 | ===


(the C++ classes or <span class="caps">QML</span> type pages should be linked to from the landing pages, if applicable)
(the C++ classes or QML type pages should be linked to from the landing pages, if applicable)


===Qt Add-ons {| class="infotable line" |- style="background: #009900" ! Git repo ! Module ! Responsible ! Status (A,B,C,D) ! <span class="caps">URL</span> ! Comment ! qdocconf ! Release |- | qt3d | Qt 3D | | AC | http://doc-snapshot.qt.io/5.0/qt3d-index.html | | OK | |- | qtbase | Qt Concurrent | Morten? | | | | | Qt 5.0 |- | qtbase | Qt D-Bus | Thiago | | | | | Qt 5.0 |- | qtbase | Qt OpenGL | | | | | | Qt 5.0 |- | qtbase | Qt Print Support | | | | | | Qt 5.0 |- | qtbase | Qt Widgets | Jan-Arve, Jens | <span class="caps">ABC</span> | http://doc-snapshot.qt.io/5.0/qtwidgets-index.html | | | Qt 5.0 |- | qtbase | Qt <span class="caps">XML</span> | | | | | | Qt 5.0 |- | qtconnectivity | Qt Bluetooth | Jerome | <span class="caps">ABC</span> | http://doc-snapshot.qt.io/5.0/qtbluetooth-index.html | | OK | |- | qtgraphicaleffects | Qt Graphical Effects | Jerome | AD | http://doc-snapshot.qt.io/5.0/qtgraphicaleffects-index.html | doesn’t need example page; no C++ class | OK | Qt 5.0 |- | qtimageformats | Qt Image Formats | | | | | | Qt 5.0 |- | qtlocation | Qt Location | | | | | | |- | qtquick1 | Qt Quick 1 | | | | | | Qt 5.0 |- | qtscript | Qt Script | | | | | | Qt 5.0 |- | qtsensors | Qt Sensors | Geir | AB | | | | |- | qtsvg | Qt <span class="caps">SVG</span> | Geir | | | | | Qt 5.0 |- | qtsystems | Qt System Info | Geir | | | | | |- | qttools | Qt Designer | | | | | | Qt 5.0 |- | qttools | Qt Help | | | | | | Qt 5.0 |- | qttools | Qt UI Tools | | | | | | Qt 5.0 |- | qtwayland | Qt Wayland | Paul | | | | | |- | qtxmlpatterns | Qt <span class="caps">XML</span> Patterns | | | | | | Qt 5.0 |}===
=== Qt Add-ons<br />{background:#009900}. |''. Git repo |''. Module |''. Responsible |''. Status (A,B,C,D)|''. URL |''. Comment |''. qdocconf|''. Release |<br />| qt3d | Qt 3D | | AC | http://doc-snapshot.qt.io/5.0/qt3d-index.html | | OK | |<br />| qtbase | Qt Concurrent | Morten? | | | | | Qt 5.0 |<br />| qtbase | Qt D-Bus | Thiago | | | | | Qt 5.0 |<br />| qtbase | Qt OpenGL | | | | | | Qt 5.0 |<br />| qtbase | Qt Print Support | | | | | | Qt 5.0 |<br />| qtbase | Qt Widgets | Jan-Arve, Jens | ABC |http://doc-snapshot.qt.io/5.0/qtwidgets-index.html | | | Qt 5.0 |<br />| qtbase | Qt XML | | | | | | Qt 5.0 |<br />| qtconnectivity| Qt Bluetooth | Jerome | ABC | http://doc-snapshot.qt.io/5.0/qtbluetooth-index.html | | OK | |<br />| qtgraphicaleffects | Qt Graphical Effects | Jerome | AD | http://doc-snapshot.qt.io/5.0/qtgraphicaleffects-index.html | doesn't need example page; no C++ class | OK | Qt 5.0 |<br />| qtimageformats | Qt Image Formats | | | | | | Qt 5.0 |<br />| qtlocation | Qt Location | | | | | | |<br />| qtquick1 | Qt Quick 1 | | | | | | Qt 5.0 |<br />| qtscript | Qt Script | | | | | | Qt 5.0 |<br />| qtsensors | Qt Sensors | Geir | AB | | | | |<br />| qtsvg | Qt SVG | Geir | | | | | Qt 5.0 |<br />| qtsystems | Qt System Info | Geir | | | | | |<br />| qttools | Qt Designer | | | | | | Qt 5.0 |<br />| qttools | Qt Help | | | | | | Qt 5.0 |<br />| qttools | Qt UI Tools | | | | | | Qt 5.0 |<br />| qtwayland | Qt Wayland | Paul | | | | | |<br />| qtxmlpatterns | Qt XML Patterns| | | | | | Qt 5.0 | ===


===Additional Modules {| class="infotable line" |- style="background: #009900" ! Git repo ! Module ! Responsible ! Status ! <span class="caps">URL</span> ! Comment ! qdocconf ! Release |- | qtactiveqt | Active Qt | Leena | | | On hold, as I cannot test this on my Mac | | Qt 5.0 |- | qtfeedback | Qt Feedback | | | | | | |- | qtjsbackend | | | | | | | Qt 5.0 |- | qtjsondb | Qt <span class="caps">JSON</span> DB | | | | | | |- | qtlalr | Qt <span class="caps">QLALR</span> | | | | | | |- | qtpim | Qt Contacts | Jerome | <span class="caps">ACD</span> | http://doc-snapshot.qt.io/5.0/qtcontacts-index.html | | OK | |- | qtpim | Qt Organizer | Jerome | <span class="caps">ACD</span> | http://doc-snapshot.qt.io/5.0/qtorganizer-index.html | | OK | |- | qtpim | Qt Versit | Jerome | AC | http://doc-snapshot.qt.io/5.0/qtversit-index.html | | OK | |- | qtqa | Qt QA | | | | | | |- | qtrepotools | | | | | | | |- | qtsystems | Qt Publish and Subscribe | Geir | | | | | |- | qtsystems | Qt Service Framework | Geir | |  |  |  |  |- | qttranslations |  |  | | | | | Qt 5.0 |}===
=== Additional Modules<br />{background:#009900}. |''. Git repo |''. Module |''. Responsible |''. Status |''. URL |''. Comment |''. qdocconf |''. Release |<br />| qtactiveqt | Active Qt | Leena | | | On hold, as I cannot test this on my Mac | | Qt 5.0 |<br />| qtfeedback | Qt Feedback | | | | | | |<br />| qtjsbackend | | | | | | | Qt 5.0 |<br />| qtjsondb | Qt JSON DB | | | | | | |<br />| qtlalr | Qt QLALR | | | | | | |<br />| qtpim | Qt Contacts | Jerome | ACD | http://doc-snapshot.qt.io/5.0/qtcontacts-index.html | | OK | |<br />| qtpim | Qt Organizer | Jerome | ACD |http://doc-snapshot.qt.io/5.0/qtorganizer-index.html | | OK | |<br />| qtpim | Qt Versit | Jerome | AC | http://doc-snapshot.qt.io/5.0/qtversit-index.html | | OK | |<br />| qtqa | Qt QA | | | | | | |<br />| qtrepotools | | | | | | | |<br />| qtsystems | Qt Publish and Subscribe | Geir | | | | | |<br />| qtsystems | Qt Service Framework | Geir | | | | | | ===

Revision as of 06:14, 24 February 2015

h1. Qt 5 API Documentation

Essentially, for each module we need:
* A - landing page (using the command) see specifications
* B - example page
* C - c++ class list (using the command)
* D - qml type list (command)

For example: Qt 3D:
* -module name is 'Qt 3D'
* -library in the module is 'Qt3D'
* -landing page is qt3d-index.html with title 'Qt 3D' (http://doc-snapshot.qt.io/5.0/qt3d-index.html)
* -c++ list has title 'Qt 3D C++ Classes'
* -qml list has title 'Qt 3D QML Types'
* -qt3d-examples.html for the example page

This is to clearly distinguish the pages because and pages confuse people with the word 'module' in it. Meaning, lets minimize the generic use of 'module'.
The other thing to watch out for is the library name versus module name. Avoid 'Qt3D' when referring to Qt 3D. Spelling_Module_Names_in_Qt_Documentation lists the names.

qdocconf files

Each module needs a "qdocconf&quot;:http://doc-snapshot.qt.io/qdoc/qdoc-guide-conf.html file to generate a documentation set for each module.
Because of the  documentation structure, there is a common qdocconf file and template modules may use.

Process

Each module has a main contact for document issues who can oversee the modularization and documentation issues. This responsible person does not need to be a module maintainer. For classes, an individual may edit documentation for technical and style correctness.

To sign up for the individual, you may sign up at Qt5ClassDocumentationCleanUp.

The Documentation page has information about contributing to the documentation.

Essentials
{background:#009900}. |. Git repo |. Module |. Responsible |. Status (A,B,C,D) |. URL |. Comment |. qdocconf |. Release |
| qtbase | Qt Core | Thiago | | http://doc-snapshot.qt.io/5.0/qtcore-index.html | | | Qt 5.0 |
| qtbase | Qt GUI | Samuel | ABC | http://doc-snapshot.qt.io/5.0/qtgui-overview.html | | | Qt 5.0 |
| qtbase | Qt Network | Jerome | ABCD | http://doc-snapshot.qt.io/5.0/qtnetwork-index.html | | OK | Qt 5.0 |
| qtbase | Qt SQL |Jerome | ABCD | http://doc-snapshot.qt.io/5.0/qtsql-index.html | | OK | Qt 5.0 |
| qtbase | Qt Test | Leena | AC | | In Gerrit | OK | Qt 5.0 |
| qtdeclarative | Qt QML | Jerome | ABC | http://doc-snapshot.qt.io/5.0/qtqml-index.html | Qt Quick contains the QML types | OK | Qt 5.0 |
| qtdeclarative | Qt Quick | Jerome | ABCD | http://doc-snapshot.qt.io/5.0/qtquick-index.html | | OK | Qt 5.0 |
| qtmultimedia | Qt Multimedia | Venugopal | ABCD | http://doc-snapshot.qt.io/5.0/qtmultimedia-index.html | | OK | Qt 5.0 |
| qtwebkit | Qt WebKit | Pierre | | http://doc-snapshot.qt.io/5.0/qtwebkit-module.html | candidate landing page (needs editing) | | Qt 5.0 |

(the C++ classes or QML type pages should be linked to from the landing pages, if applicable)

Qt Add-ons
{background:#009900}. |. Git repo |. Module |. Responsible |. Status (A,B,C,D)|. URL |. Comment |. qdocconf|. Release |
| qt3d | Qt 3D | | AC | http://doc-snapshot.qt.io/5.0/qt3d-index.html | | OK | |
| qtbase | Qt Concurrent | Morten? | | | | | Qt 5.0 |
| qtbase | Qt D-Bus | Thiago | | | | | Qt 5.0 |
| qtbase | Qt OpenGL | | | | | | Qt 5.0 |
| qtbase | Qt Print Support | | | | | | Qt 5.0 |
| qtbase | Qt Widgets | Jan-Arve, Jens | ABC |http://doc-snapshot.qt.io/5.0/qtwidgets-index.html | | | Qt 5.0 |
| qtbase | Qt XML | | | | | | Qt 5.0 |
| qtconnectivity| Qt Bluetooth | Jerome | ABC | http://doc-snapshot.qt.io/5.0/qtbluetooth-index.html | | OK | |
| qtgraphicaleffects | Qt Graphical Effects | Jerome | AD | http://doc-snapshot.qt.io/5.0/qtgraphicaleffects-index.html | doesn't need example page; no C++ class | OK | Qt 5.0 |
| qtimageformats | Qt Image Formats | | | | | | Qt 5.0 |
| qtlocation | Qt Location | | | | | | |
| qtquick1 | Qt Quick 1 | | | | | | Qt 5.0 |
| qtscript | Qt Script | | | | | | Qt 5.0 |
| qtsensors | Qt Sensors | Geir | AB | | | | |
| qtsvg | Qt SVG | Geir | | | | | Qt 5.0 |
| qtsystems | Qt System Info | Geir | | | | | |
| qttools | Qt Designer | | | | | | Qt 5.0 |
| qttools | Qt Help | | | | | | Qt 5.0 |
| qttools | Qt UI Tools | | | | | | Qt 5.0 |
| qtwayland | Qt Wayland | Paul | | | | | |
| qtxmlpatterns | Qt XML Patterns| | | | | | Qt 5.0 |

Additional Modules
{background:#009900}. |. Git repo |. Module |. Responsible |. Status |. URL |. Comment |. qdocconf |. Release |
| qtactiveqt | Active Qt | Leena | | | On hold, as I cannot test this on my Mac | | Qt 5.0 |
| qtfeedback | Qt Feedback | | | | | | |
| qtjsbackend | | | | | | | Qt 5.0 |
| qtjsondb | Qt JSON DB | | | | | | |
| qtlalr | Qt QLALR | | | | | | |
| qtpim | Qt Contacts | Jerome | ACD | http://doc-snapshot.qt.io/5.0/qtcontacts-index.html | | OK | |
| qtpim | Qt Organizer | Jerome | ACD |http://doc-snapshot.qt.io/5.0/qtorganizer-index.html | | OK | |
| qtpim | Qt Versit | Jerome | AC | http://doc-snapshot.qt.io/5.0/qtversit-index.html | | OK | |
| qtqa | Qt QA | | | | | | |
| qtrepotools | | | | | | | |
| qtsystems | Qt Publish and Subscribe | Geir | | | | | |
| qtsystems | Qt Service Framework | Geir | | | | | |