Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
doc_src_qthelp.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
//! [1]
5
QT += help
6
//! [1]
7
8
9
//! [2]
10
qhelpgenerator doc.qhp -o doc.qch
11
//! [2]
12
13
14
//! [3]
15
<?xml version=
"1.0"
encoding=
"utf-8"
?>
16
<QHelpCollectionProject version=
"1.0"
>
17
<docFiles>
18
<
register
>
19
<file>doc.qch</file>
20
</
register
>
21
</docFiles>
22
</QHelpCollectionProject>
23
//! [3]
24
25
26
//! [4]
27
qhelpgenerator mycollection.qhcp -o mycollection.qhc
28
//! [4]
29
30
31
//! [5]
32
...
33
<docFiles>
34
<generate>
35
<file>
36
<input>doc.qhp</input>
37
<output>doc.qch</output>
38
</file>
39
</generate>
40
<
register
>
41
<file>doc.qch</file>
42
</
register
>
43
</docFiles>
44
...
45
//! [5]
46
47
48
//! [7]
49
<?xml version=
"1.0"
encoding=
"UTF-8"
?>
50
<QtHelpProject version=
"1.0"
>
51
<
namespace
>mycompany.com.myapplication.1.0</
namespace
>
52
<virtualFolder>doc</virtualFolder>
53
<customFilter name=
"My Application 1.0"
>
54
<filterAttribute>myapp</filterAttribute>
55
<filterAttribute>1.0</filterAttribute>
56
</customFilter>
57
<filterSection>
58
<filterAttribute>myapp</filterAttribute>
59
<filterAttribute>1.0</filterAttribute>
60
<toc>
61
<section title=
"My Application Manual"
ref=
"index.html"
>
62
<section title=
"Chapter 1"
ref=
"doc.html#chapter1"
/>
63
<section title=
"Chapter 2"
ref=
"doc.html#chapter2"
/>
64
<section title=
"Chapter 3"
ref=
"doc.html#chapter3"
/>
65
</section>
66
</toc>
67
<keywords>
68
<keyword name=
"foo"
id=
"MyApplication::foo"
ref=
"doc.html#foo"
/>
69
<keyword name=
"bar"
ref=
"doc.html#bar"
/>
70
<keyword id=
"MyApplication::foobar"
ref=
"doc.html#foobar"
/>
71
</keywords>
72
<files>
73
<file>classic.css</file>
74
<file>*.html</file>
75
</files>
76
</filterSection>
77
</QtHelpProject>
78
//! [7]
79
80
81
//! [8]
82
...
83
<virtualFolder>doc</virtualFolder>
84
...
85
//! [8]
86
87
88
//! [9]
89
...
90
<customFilter name=
"My Application 1.0"
>
91
<filterAttribute>myapp</filterAttribute>
92
<filterAttribute>1.0</filterAttribute>
93
</customFilter>
94
...
95
//! [9]
96
97
98
//! [10]
99
...
100
<filterSection>
101
<filterAttribute>myapp</filterAttribute>
102
<filterAttribute>1.0</filterAttribute>
103
...
104
//! [10]
105
106
107
//! [11]
108
...
109
<toc>
110
<section title=
"My Application Manual"
ref=
"index.html"
>
111
<section title=
"Chapter 1"
ref=
"doc.html#chapter1"
/>
112
<section title=
"Chapter 2"
ref=
"doc.html#chapter2"
/>
113
<section title=
"Chapter 3"
ref=
"doc.html#chapter3"
/>
114
</section>
115
</toc>
116
...
117
//! [11]
118
119
120
//! [12]
121
...
122
<keywords>
123
<keyword name=
"foo"
id=
"MyApplication::foo"
ref=
"doc.html#foo"
/>
124
<keyword name=
"bar"
ref=
"doc.html#bar"
/>
125
<keyword id=
"MyApplication::foobar"
ref=
"doc.html#foobar"
/>
126
</keywords>
127
...
128
//! [12]
129
130
131
//! [13]
132
...
133
<files>
134
<file>classic.css</file>
135
<file>*.html</file>
136
</files>
137
...
138
//! [13]
qttools
src
assistant
help
doc
snippets
doc_src_qthelp.qdoc
Generated on
for Qt by
1.18.0