diff options
author | Alexpux <alexey.pawlow@gmail.com> | 2013-01-28 19:48:46 +0400 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-02-04 09:39:30 +0100 |
commit | 71159456159fe890b9342772d1697c7218f083c7 (patch) | |
tree | bfdc09be2b18f74a96098e560196bcfc86b85f0d /doc/doc.pri | |
parent | 1405b669609f35470964a6315cead4a750a9ecd8 (diff) | |
download | qbs-71159456159fe890b9342772d1697c7218f083c7.tar.gz |
Fix command for generate documentation.
Task-Number: QBS-209
Change-Id: I860ecf7ab151058f74b15b36461b7533ac3b99c5
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'doc/doc.pri')
-rw-r--r-- | doc/doc.pri | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/doc.pri b/doc/doc.pri index 88d7acf6f..693ea04ac 100644 --- a/doc/doc.pri +++ b/doc/doc.pri @@ -6,6 +6,11 @@ qt:greaterThan(QT_MAJOR_VERSION, 4) { QDOC_BIN = $$targetPath($$[QT_INSTALL_BINS]/qdoc) } else { QDOC_BIN = $$targetPath($$[QT_INSTALL_BINS]/qdoc3) + + # cheap replacement of the Qt5 shell_quote function + defineReplace(shell_quote) { + return("\"$$1\"") + } } HELPGENERATOR = $$targetPath($$[QT_INSTALL_BINS]/qhelpgenerator) @@ -40,7 +45,7 @@ html_docs.commands = $$QDOC $$PWD/qbs.qdocconf html_docs.depends += $$HELP_DEP_FILES html_docs.files = $$QHP_FILE -qch_docs.commands = $$HELPGENERATOR -o \"$$QCH_FILE\" $$QHP_FILE +qch_docs.commands = $$HELPGENERATOR -o $$shell_quote($$QCH_FILE) $$QHP_FILE qch_docs.depends += html_docs qch_docs.files = $$QCH_FILE |