diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2012-12-04 17:11:55 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-04 18:29:58 +0100 |
commit | a83c183c69c610ef3df9fd3f243c1762d2fa371e (patch) | |
tree | 2dffabefda8d957fbc0718c60be59e1cae1cef91 /README | |
parent | 30f160b104174623f3b5d01c98f542d285839cee (diff) | |
download | qtdoc-a83c183c69c610ef3df9fd3f243c1762d2fa371e.tar.gz |
Doc: Updated the README file.
-updated "make docs" command information.
Change-Id: Id102998481e15327980221586aef528edb541b6c
Reviewed-by: Jing Bai <jing.bai@digia.com>
Diffstat (limited to 'README')
-rw-r--r-- | README | 25 |
1 files changed, 22 insertions, 3 deletions
@@ -30,7 +30,7 @@ Section 1 Building the qdocconf File qdocconf file as a parameter. "qdoc" is found in qtbase repository. A mandatory "outputdir" must be specified. - $> qdoc doc/config/qt-project.qdocconf -outputdir html + $> qdoc doc/config/qtdoc.qdocconf -outputdir html Note that QDoc will delete the contents of the "html" output directory. @@ -53,7 +53,18 @@ Section 2 Building using make there will generate the documentation for Qt 5 and install them to the path set to the QT_INSTALL_DOCS variable. -Section 3 Packaging the Documentation +Section 3 Building Qt Documentation + + To build the Qt module documentation along with the Qt Reference Documentation, + run the following: + + $> cd qt5 #the main qt5.git directory + $> make qmake_all #creates Makefiles for each repository + $> make docs + + To generate only HTML files, run "make html_docs" instead of "make docs" + +Section 4 Packaging the Documentation To package the documentation for Qt Assistant, the HTML files must be compiled into a QCH file (.qch). @@ -67,9 +78,17 @@ Section 3 Packaging the Documentation $> cd qtbase/doc/qtdoc #the default path for QT_INSTALL_DOCS for qtdoc $> qhelpgenerator qtdoc.qhp #creates the QCH file called qtdoc.qch + + Alternatively, modules have a "qch_docs" target: + $> cd qtbase + $> make qch_docs #builds the QCH files for modules in qtbase + + The QCH file can then be loaded in Qt Assistant or Qt Creator. For Qt + Assistant, the QCH file may be registered to automatically load it. + $> assistant -register qtdoc.qch #to automatically load the documentation -Section 4 More Information +Section 5 More Information For more information about Qt 5's documentation, refer to the Qt Project wiki: http://qt-project.org/wiki/Qt5DocumentationProject |