summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2011-11-21 13:17:51 (GMT)
committerDaniel Molkentin <daniel.molkentin@nokia.com>2011-11-21 13:17:51 (GMT)
commit8a880ff9e548b433b228341236973e92462eb4ff (patch)
tree2c390954f8a78fd4a2924b52a117125711acc1a1 /tools
parent0b594c27b946eb8c2356f1400e3dfb72be824588 (diff)
downloadQt-8a880ff9e548b433b228341236973e92462eb4ff.zip
Qt-8a880ff9e548b433b228341236973e92462eb4ff.tar.gz
Qt-8a880ff9e548b433b228341236973e92462eb4ff.tar.bz2
Compile fix.
Reviewed-by: trustme
Diffstat (limited to 'tools')
-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 8526bff..747d57e 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) {