-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathqmldbusplugin.pro
35 lines (28 loc) · 1.03 KB
/
qmldbusplugin.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TEMPLATE = subdirs
SUBDIRS += src \
tests
exists($(QTDIR)/bin/qdoc) {
exists($(QTDIR)/bin/qhelpgenerator) {
message ("Using qdoc/qhelpgenerator in QTDIR for generating docs")
QDOC = $(QTDIR)/bin/qdoc
QHELPGENERATOR = $(QTDIR)/bin/qhelpgenerator
} else {
message ("Trying to use system qdoc/qhelpgenerator for generating docs")
QDOC = qdoc3
QHELPGENERATOR = qhelpgenerator
}
} else {
message ("Trying to use system qdoc/qhelpgenerator for generating docs")
QDOC = qdoc3
QHELPGENERATOR = qhelpgenerator
}
html-docs.commands = $$QDOC $$PWD/doc/qmldbusplugin.qdocconf
html-docs.files = $$PWD/doc/html
qch-docs.commands = $$QHELPGENERATOR $$PWD/doc/html/qmldbusplugin.qhp -o $$PWD/doc/html/qmldbusplugin.qch
qch-docs.files = $$PWD/docs/qch
qch-docs.CONFIG += no_check_exist directory
docs.depends = html-docs qch-docs
QMAKE_EXTRA_TARGETS += html-docs qch-docs docs
OTHER_FILES += doc/qmldbusplugin.qdocconf \
doc/index.qdoc \
doc/elements.qdoc