aboutsummaryrefslogtreecommitdiffstats
path: root/doc/doc.pri
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>2012-05-15 09:57:07 +0200
committerMarius Storm-Olsen <marius.storm-olsen@nokia.com>2012-05-15 12:01:46 +0200
commita5b4dca5c30e3854a4b5e1c68318bdb5b8f1e99e (patch)
treead7b82f673538f917bae7830d9f00b5fa26c2d68 /doc/doc.pri
parentbb2a2c3def753d5ecb1f0f645d8c6909aca1945d (diff)
Make Qt Creator documentation link to online docs
Change-Id: I3f843831242929bd3e8427a56c8269c62c1812c1 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'doc/doc.pri')
-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