summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-20 09:52:59 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-20 20:19:10 (GMT)
commita8350d70e75462770e6ccb7a29c1c383c103687a (patch)
treeac539a1e11259a4b75d46e59596d4660a0d6961d /tools/qdoc3
parent3201b70f0364911382cf3657141be95e34f1d61c (diff)
downloadQt-a8350d70e75462770e6ccb7a29c1c383c103687a.zip
Qt-a8350d70e75462770e6ccb7a29c1c383c103687a.tar.gz
Qt-a8350d70e75462770e6ccb7a29c1c383c103687a.tar.bz2
use qtPrepareTool for qdoc
Reviewed-by: joerg
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/qdoc3.pro15
1 files changed, 1 insertions, 14 deletions
diff --git a/tools/qdoc3/qdoc3.pro b/tools/qdoc3/qdoc3.pro
index e394799..81ff93a 100644
--- a/tools/qdoc3/qdoc3.pro
+++ b/tools/qdoc3/qdoc3.pro
@@ -115,20 +115,7 @@ SOURCES += apigenerator.cpp \
### Documentation for qdoc3 ###
-win32:!win32-g++ {
- unixstyle = false
-} else :win32-g++:isEmpty(QMAKE_SH) {
- unixstyle = false
-} else {
- unixstyle = true
-}
-
-$$unixstyle {
- QDOC = cd $$PWD/doc && $$[QT_INSTALL_BINS]/qdoc3
-} else {
- QDOC = cd $$PWD/doc && $$[QT_INSTALL_BINS]/qdoc3.exe
- QDOC = $$replace(QDOC, "/", "\\")
-}
+qtPrepareTool(QDOC, qdoc3)
docs.commands = $$QDOC qdoc-manual.qdocconf