summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/htmlgenerator.cpp
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-11-22 11:37:49 (GMT)
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-11-22 11:37:49 (GMT)
commitc64553058b65411b55455dd41167d822cd5b6e27 (patch)
treef3ad81fac0888ec54b866042cddedcf49fe4f66e /tools/qdoc3/htmlgenerator.cpp
parentccd722e1daec26ab981c75abca23bfd360055322 (diff)
parent6b1c4806cf668ef30ece2f9eba869c622705157a (diff)
downloadQt-c64553058b65411b55455dd41167d822cd5b6e27.zip
Qt-c64553058b65411b55455dd41167d822cd5b6e27.tar.gz
Qt-c64553058b65411b55455dd41167d822cd5b6e27.tar.bz2
Merge remote-tracking branch 'qt-doc-review/master'
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 747d57e..b7a5120 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -4503,6 +4503,19 @@ void HtmlGenerator::generateManifestFile(QString manifest, QString element)
}
}
}
+ if (!en->dependencies().isEmpty()) {
+ for (int idx=0; idx<en->dependencies().size(); ++idx) {
+ writer.writeStartElement("dependency");
+ QString file = "$QTDIR/";
+ if (demos)
+ file += "demos/";
+ else
+ file += "examples/";
+ file += en->dependencies()[idx];
+ writer.writeCharacters(file);
+ writer.writeEndElement(); // dependency
+ }
+ }
writer.writeEndElement(); // example
++i;
}