Commit db48c49a authored by Leena Miettinen's avatar Leena Miettinen
Browse files

Doc: add a "commercial" icon to commercial-only topics

For purely commercial apps, this is done by using the
template, but Qt Creator is mostly open source, so an
image is used.

Use a \commercial macro with a tooltip and link to the

Change-Id: I5e3df953821551331afef2ec642b482b52ff909e
Reviewed-by: default avatarTopi Reiniö <>
parent 8c472f20
......@@ -34,6 +34,7 @@ macro.begincomment = "\\c{/*}"
macro.endcomment = "\\c{*/}"
macro.uuml.HTML = "&uuml;"
macro.mdash.HTML = "&mdash;"
macro.commercial = "\\raw HTML\n<p><a title=\"Available under certain Qt licenses.\"><img src=\"images/commercial.png\"/></a></p>\n\\endraw"
macro.beginfloatleft.HTML = "<div style=\"float: left; margin-right: 2em\">"
macro.beginfloatright.HTML = "<div style=\"float: right; margin-left: 2em\">"
......@@ -8,6 +8,10 @@ imagedirs = $SRCDIR/images $SRCDIR/templates/images
outputdir = $OUTDIR
exampledirs = $SRCDIR/examples
HTML.extraimages = images/commercial.png
qhp.QtCreator.extraFiles = images/commercial.png
indexes += $QDOC_INDEX_DIR/qtwidgets/qtwidgets.index \
$QDOC_INDEX_DIR/qtcore/qtcore.index \
$QDOC_INDEX_DIR/qtqml/qtqml.index \
......@@ -30,6 +30,8 @@
\title Analyzing CPU Usage
\QC is integrated with the Linux Perf tool (commercial only) that can be
used to analyze the CPU usage of an application on embedded devices and, to
a limited extent, on Linux desktop platforms. The CPU Usage Analyzer uses
......@@ -31,6 +31,8 @@
\title Using Clang Static Analyzer
\QC integrates the \l{}
{Clang Static Analyzer} for finding problems in C, C++, and Objective-C
programs (commercial only).
......@@ -35,6 +35,8 @@
\title Running Autotests
\QC integrates the \l{Qt Test} framework for unit testing Qt based
applications and libraries (commercial only). You can use \QC to build and
run autotests for your projects.
......@@ -28,6 +28,8 @@
\title Qt Creator Commercial Features
You can use the following \QC features if you have the appropriate
\l{}{Qt license}:
......@@ -35,6 +35,8 @@
\title Adding Connections
You can use the \uicontrol {Connections} view (commercial only) to:
......@@ -35,6 +35,8 @@
\title Using Qt Quick Designer Extensions
\image qmldesigner-extensions.png
\QMLD contains commercial features that make developing Qt Quick
......@@ -35,6 +35,8 @@
\title Editing PathView Properties
A \l{PathView} lays out data provided by data models on a \l{Path}.
A graphical spline editor enables you to specify PathView paths, which
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment