From a0f08012e0e26673635a6f4e3c496bf53f558726 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Tue, 22 Nov 2011 17:05:48 +0100 Subject: Fix qdoc output for tag. Also prepend relative path if required. Reviewed-By: trustme --- tools/qdoc3/htmlgenerator.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp index b7a5120..bc84288 100644 --- a/tools/qdoc3/htmlgenerator.cpp +++ b/tools/qdoc3/htmlgenerator.cpp @@ -4506,12 +4506,9 @@ void HtmlGenerator::generateManifestFile(QString manifest, QString element) if (!en->dependencies().isEmpty()) { for (int idx=0; idxdependencies().size(); ++idx) { writer.writeStartElement("dependency"); - QString file = "$QTDIR/"; - if (demos) - file += "demos/"; - else - file += "examples/"; - file += en->dependencies()[idx]; + QString file(en->dependencies()[idx]); + if (!relativePath.isEmpty()) + file.prepend(relativePath); writer.writeCharacters(file); writer.writeEndElement(); // dependency } -- cgit v0.12