##// END OF EJS Templates
Add assistant (qch) documentation generation...
Miikka Heikkinen -
r2418:d84ad300b3d2
parent child
Show More
@@ -0,0 +1,27
1 qhp.projects = QtCommercialCharts
2 qhp.QtCommercialCharts.file = qtcommercialcharts.qhp
3 qhp.QtCommercialCharts.namespace = com.digia.qtcommercialcharts.$QT_CHARTS_VERSION_TAG
4 qhp.QtCommercialCharts.virtualFolder = doc
5 qhp.QtCommercialCharts.indexTitle = QtCommercial Charts Reference $QT_CHARTS_VERSION
6 qhp.QtCommercialCharts.filterAttributes = qtcommercialcharts $QT_CHARTS_VERSION
7 qhp.QtCommercialCharts.customFilters.QtCommercialCharts.name = QtCommercial Charts $QT_CHARTS_VERSION
8 qhp.QtCommercialCharts.customFilters.QtCommercialCharts.filterAttributes = qtcommercialcharts $QT_CHARTS_VERSION
9 qhp.QtCommercialCharts.indexRoot =
10
11 # Files not referenced in any qdoc file.
12 # See also extraimages.HTML
13 qhp.QtCommercialCharts.extraFiles = index.html \
14 examples.html \
15 demos.html \
16 images/arrow_down.png \
17 images/bg.png \
18 images/breadcrumb.png \
19 images/bullet_gt.png \
20 images/bullet_dn.png \
21 images/bullet_sq.png \
22 images/bullet_up.png \
23 images/digia_logo.png \
24 images/horBar.png \
25 images/qcharts.png \
26 images/qt_commercial_logo.png \
27 style/offline.css
@@ -18,22 +18,41 feature.files = $$PWD/features/qtcommercialchart.prf
18 INSTALLS += feature
18 INSTALLS += feature
19
19
20 # docs
20 # docs
21 CHARTS_VERSION = 1.2.1
22 CHARTS_VERSION_TAG = 121
23
21 win32: {
24 win32: {
22 QDOC_CONF = $$CHART_BUILD_DOC_DIR\\qcharts.qdocconf
25 QDOC_CONF = $$CHART_BUILD_DOC_DIR\\qcharts.qdocconf
26 VERSION_SETTINGS = \
27 set QT_CHARTS_VERSION=$$CHARTS_VERSION $$escape_expand(\\n\\t) \
28 set QT_CHARTS_VERSION_TAG=$$CHARTS_VERSION_TAG $$escape_expand(\\n\\t)
23 } else {
29 } else {
24 QDOC_CONF = $$CHART_BUILD_DOC_DIR/qcharts.qdocconf
30 QDOC_CONF = $$CHART_BUILD_DOC_DIR/qcharts.qdocconf
31 VERSION_SETTINGS = \
32 QT_CHARTS_VERSION=$$CHARTS_VERSION QT_CHARTS_VERSION_TAG=$$CHARTS_VERSION_TAG
25 }
33 }
26
34
27 contains(QT_MAJOR_VERSION, 5) {
35 contains(QT_MAJOR_VERSION, 5) {
28 QDOC_CMD = qdoc
36 QDOC_CMD = qdoc
37 HELPGENERATOR_CMD = qhelpgenerator -platform minimal
29 } else {
38 } else {
30 QDOC_CMD = qdoc3
39 QDOC_CMD = qdoc3
40 HELPGENERATOR_CMD = qhelpgenerator
31 }
41 }
32
42
43 QHP_FILE = doc/html/qtcommercialcharts.qhp
44 QCH_FILE = doc/qch/qtcommercialcharts.qch
45
33 docs.target = docs
46 docs.target = docs
34 docs.commands = $$QDOC_CMD $$QDOC_CONF
47 docs.depends = qch_docs FORCE
35 docs.depends = FORCE
48 qch_docs.target = qch_docs
36 QMAKE_EXTRA_TARGETS += docs
49 qch_docs.commands = $$HELPGENERATOR_CMD $$QHP_FILE -o $$QCH_FILE
50 qch_docs.depends = html_docs FORCE
51 html_docs.target = html_docs
52 html_docs.commands = $$VERSION_SETTINGS $$QDOC_CMD $$QDOC_CONF
53 html_docs.depends = FORCE
54
55 QMAKE_EXTRA_TARGETS += docs qch_docs html_docs
37
56
38 # coverage
57 # coverage
39 unix:coverage:{
58 unix:coverage:{
@@ -44,16 +44,3 HTML.footer = \
44 " <p>\n" \
44 " <p>\n" \
45 " <img src=\"images/digia_logo.png\" alt=\"digia\" /></p>\n" \
45 " <img src=\"images/digia_logo.png\" alt=\"digia\" /></p>\n" \
46 "</div>\n" \
46 "</div>\n" \
47
48 # Files not referenced in any qdoc file.
49 # See also extraimages.HTML
50 qhp.QDoc.extraFiles = index.html \
51 images/arrow_down.png \
52 images/breadcrumb.png \
53 images/bullet_gt.png \
54 images/bullet_dn.png \
55 images/bullet_sq.png \
56 images/bullet_up.png \
57 images/horBar.png \
58 images/qcharts.png \
59 style/offline.css
@@ -1,6 +1,7
1 include(compat.qdocconf)
1 include(compat.qdocconf)
2 include(macros.qdocconf)
2 include(macros.qdocconf)
3 include(qchart-html-template.qdocconf)
3 include(qchart-html-template.qdocconf)
4 include(qchart-qch.qdocconf)
4
5
5 project = QtCommercialCharts
6 project = QtCommercialCharts
6 description = Library for creating charts
7 description = Library for creating charts
General Comments 0
You need to be logged in to leave comments. Login now