<?xml version="1.0" encoding="UTF-8"?><QtHelpProject version="1.0"> <namespace>com.trolltech.examples.simpletextviewer</namespace> <virtualFolder>doc</virtualFolder> <filterSection> <toc> <section title="Simple Text Viewer" ref="index.html"> <section title="Find File" ref="./findfile.html"> <section title="File Dialog" ref="./filedialog.html"></section> <section title="Wildcard Matching" ref="./wildcardmatching.html"></section> <section title="Browse" ref="./browse.html"></section> </section> <section title="Open File" ref="./openfile.html"></section> </section> </toc> <keywords> <keyword name="Display" ref="./index.html"/> <keyword name="Rich text" ref="./index.html"/> <keyword name="Plain text" ref="./index.html"/> <keyword name="Find" ref="./findfile.html"/> <keyword name="File menu" ref="./findfile.html"/> <keyword name="File name" ref="./filedialog.html"/> <keyword name="File dialog" ref="./filedialog.html"/> <keyword name="File globbing" ref="./wildcardmatching.html"/> <keyword name="Wildcard matching" ref="./wildcardmatching.html"/> <keyword name="Wildcard syntax" ref="./wildcardmatching.html"/> <keyword name="Browse" ref="./browse.html"/> <keyword name="Directory" ref="./browse.html"/> <keyword name="Open" ref="./openfile.html"/> <keyword name="Select" ref="./openfile.html"/> </keywords> <files> <file>browse.html</file> <file>filedialog.html</file> <file>findfile.html</file> <file>index.html</file> <file>intro.html</file> <file>openfile.html</file> <file>wildcardmatching.html</file> <file>images/browse.png</file> <file>images/fadedfilemenu.png</file> <file>images/filedialog.png</file> <file>images/handbook.png</file> <file>images/mainwindow.png</file> <file>images/open.png</file> <file>images/wildcard.png</file> </files> </filterSection> </QtHelpProject>
qhelpgenerator doc.qhp -o doc.qch
<?xml version="1.0" encoding="UTF-8"?><QHelpCollectionProject version="1.0"> <assistant> <title>Simple Text Viewer</title> <applicationIcon>images/handbook.png</applicationIcon> <cacheDirectory>Trolltech/SimpleTextViewer</cacheDirectory> <startPage>qthelp://com.trolltech.examples.simpletextviewer/doc/index.html</startPage> <aboutMenuText> <text>About Simple Text Viewer</text> </aboutMenuText> <aboutDialog> <file>about.txt</file> <icon>images/icon.png</icon> </aboutDialog> <enableDocumentationManager>false</enableDocumentationManager> <enableAddressBar>false</enableAddressBar> <enableFilterFunctionality>false</enableFilterFunctionality> </assistant> <docFiles> <generate> <file> <input>simpletextviewer.qhp</input> <output>simpletextviewer.qch</output> </file> </generate> <register> <file>simpletextviewer.qch</file> </register> </docFiles> </QHelpCollectionProject>
qcollectiongenerator mycollection.qhcp -o mycollection.qhc