summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/qdoc3/htmlgenerator.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index a840c93..f1c0b8f 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -4485,10 +4485,15 @@ void HtmlGenerator::generateManifestFile(QString manifest, QString element)
}
if (!en->dependencies().isEmpty()) {
for (int idx=0; idx<en->dependencies().size(); ++idx) {
- writer.writeStartElement("depends");
- QString file = "../../" + en->dependencies()[idx];
+ writer.writeStartElement("dependency");
+ QString file = "$QTDIR/";
+ if (demos)
+ file += "demos/";
+ else
+ file += "examples/";
+ file += en->dependencies()[idx];
writer.writeCharacters(file);
- writer.writeEndElement(); // depends
+ writer.writeEndElement(); // dependency
}
}
writer.writeEndElement(); // example