diff --git a/doc/doc.pri b/doc/doc.pri
index e51280c423639d01cc9f52d81ec3717a3b1006d7..a41b68ec873ba01b19b1c61b57f816cfa5fce75b 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -9,7 +9,7 @@ unix {
 QHP_FILE = $$OUT_PWD/doc/html/qtcreator.qhp
 QCH_FILE = $$OUT_PWD/doc/qtcreator.qch
 
-html_docs.commands = "$$QDOC $$PWD/qtcreator.qdocconf"
+html_docs.commands = \"$$QDOC $$PWD/qtcreator.qdocconf\"
 html_docs.depends += $$PWD/qtcreator.qdoc $$PWD/qtcreator.qdocconf
 html_docs.files = $$QHP_FILE