From 3908528fe49803b3ff65a1a7b8054eb8e48fbc1f Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <daniel.molkentin@nokia.com>
Date: Wed, 14 Jan 2009 17:57:19 +0100
Subject: [PATCH] fix doc target. this does still not solve the problem that
 qdoc has to be build in release mode if you use windows.

---
 doc/doc.pri | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/doc.pri b/doc/doc.pri
index e9e34fe733b..2e8d7e5e906 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -2,7 +2,8 @@ unix {
     QDOC = SRCDIR=$$PWD OUTDIR=$$OUT_PWD/doc/html $$(QTDIR)/tools/qdoc3/qdoc3
     HELPGENERATOR = $$(QTDIR)/bin/qhelpgenerator
 } else {
-    QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& $$(QTDIR)\tools\qdoc3\release\qdoc3.exe
+    QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& cmd /k $$(QTDIR)\tools\qdoc3\release\qdoc3.exe
+    QDOC = $$replace(QDOC, "/", "\\\\") 
     HELPGENERATOR = $$(QTDIR)\bin\qhelpgenerator.exe
 }
 
-- 
GitLab