summaryrefslogtreecommitdiff
path: root/tools/qdoc3/htmlgenerator.cpp
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2011-11-21 14:17:51 +0100
committerDaniel Molkentin <daniel.molkentin@nokia.com>2011-11-21 14:17:51 +0100
commit8a880ff9e548b433b228341236973e92462eb4ff (patch)
tree2c390954f8a78fd4a2924b52a117125711acc1a1 /tools/qdoc3/htmlgenerator.cpp
parent0b594c27b946eb8c2356f1400e3dfb72be824588 (diff)
downloadqt4-tools-8a880ff9e548b433b228341236973e92462eb4ff.tar.gz
Compile fix.
Reviewed-by: trustme
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 8526bffc2c..747d57e6b5 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -4406,12 +4406,11 @@ void HtmlGenerator::generateManifestFile(QString manifest, QString element)
QString docUrl = manifestDir + en->fileBase() + ".html";
writer.writeAttribute("docUrl", docUrl);
-
QDir installDir(QLibraryInfo::location(QLibraryInfo::DataPath));
QDir buildDir(QString::fromLocal8Bit(qgetenv("QT_BUILD_TREE")));
QDir sourceDir(QString::fromLocal8Bit(qgetenv("QT_SOURCE_TREE")));
-
+ QString relativePath;
if (buildDir.exists() && sourceDir.exists()
// shadow build, but no prefix build
&& installDir == buildDir && buildDir != sourceDir) {