summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/doc.pri4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/doc.pri b/doc/doc.pri
index ef2f745acd..285951f22c 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -8,6 +8,10 @@ HELPGENERATOR = $$targetPath($$[QT_INSTALL_BINS]/qhelpgenerator)
VERSION_TAG = $$replace(QTCREATOR_VERSION, "[-.]", )
+# unset the installdir for qdoc, so we force generation
+# of URLs for the links to the Qt documentation
+QMAKE_DOCS_INSTALLDIR =
+
defineReplace(qdoc) {
equals(QMAKE_DIR_SEP, /) { # unix, mingw+msys
QDOC = SRCDIR=$$PWD OUTDIR=$$1 QTC_VERSION=$$QTCREATOR_VERSION QTC_VERSION_TAG=$$VERSION_TAG $$QDOC_BIN