Do show module license on all help pages

Qt Data Visualization has a different main license than most other Qt
modules, which is easy to miss. We do show the license on the module
landing page and in the 'All modules' overview page, but if you
directly open an example or a class page you can still miss this.

This change adds the main license description to the header shared
by all pages of the module; we (mis)use the buildversion variable for
that, which was so far unused.

Right now qdoc does not 'linkify' the entry. It could add a generic
link to the landing page though, where the license is also described.

Task-number: QTBUG-70354
Change-Id: Ic4917541a6480d1cb3879f87e6aac0093dd1f3b3
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Kai Koehne 2018-09-06 13:53:03 +02:00
parent f305948c23
commit 191ef6d873
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
project = QtDataVisualization
description = Qt Data Visualization Reference Documentation
version = $QT_VERSION
buildversion = Qt Data Visualization | Commercial or GPLv3
exampledirs += ../../../examples/datavisualization \
snippets