diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2011-11-21 14:17:51 +0100 |
---|---|---|
committer | Daniel Molkentin <daniel.molkentin@nokia.com> | 2011-11-21 14:17:51 +0100 |
commit | 8a880ff9e548b433b228341236973e92462eb4ff (patch) | |
tree | 2c390954f8a78fd4a2924b52a117125711acc1a1 | |
parent | 0b594c27b946eb8c2356f1400e3dfb72be824588 (diff) | |
download | qt4-tools-8a880ff9e548b433b228341236973e92462eb4ff.tar.gz |
Compile fix.
Reviewed-by: trustme
-rw-r--r-- | tools/qdoc3/htmlgenerator.cpp | 3 |
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) { |