The macro enables tabbed content in the online style
only. It's usage must be gaurded with a conditional
block as shown in the following example to handle
the offline style usecase:
\if(onlinedocs)
\tab {build-qt-app}{tab-cmake}{CMake}{selected}
\tab {build-qt-app}{tab-qmake}{qmake}{}
\tabcontent {tab-cmake}
\else
\section1 Using CMake
\endif
CMake-specific instructions go here
\if(onlinedocs)
\endtabcontent
\tabcontent {tab-qmake}
\else
\section1 Using qmake
\endif
qmake-specific instructions go here
\if(onlinedocs)
\endtabcontent
\endif
Pick-to: 6.2 6.3
Change-Id: I02d50c057280a9ffea913642284e67ddcda7aa94
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
||
|---|---|---|
| .. | ||
| externalsites | ||
| includes | ||
| includes-online | ||
| template | ||
| compat.qdocconf | ||
| config.qdocconf | ||
| externalsites.qdocconf | ||
| fileextensions.qdocconf | ||
| html-config.qdocconf | ||
| html-footer-online.qdocconf | ||
| html-footer.qdocconf | ||
| html-header-offline.qdocconf | ||
| html-header-online.qdocconf | ||
| htmltabs.qdocconf | ||
| macros-online.qdocconf | ||
| macros.qdocconf | ||
| manifest-meta.qdocconf | ||
| qt-cpp-defines.qdocconf | ||
| qt-html-templates-offline-simple.qdocconf | ||
| qt-html-templates-offline.qdocconf | ||
| qt-html-templates-online.qdocconf | ||
| qt-module-defaults-offline.qdocconf | ||
| qt-module-defaults-online-commercial.qdocconf | ||
| qt-module-defaults-online.qdocconf | ||
| qt-module-defaults.qdocconf | ||