From 8a880ff9e548b433b228341236973e92462eb4ff Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Mon, 21 Nov 2011 14:17:51 +0100 Subject: Compile fix. Reviewed-by: trustme --- tools/qdoc3/htmlgenerator.cpp | 3 +-- 1 file changed, 1 insertion(+), 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) { -- cgit v0.12