Doc: Fix issues in Qt Help documentation
authorTopi Reinio <topi.reinio@digia.com>
Tue, 3 Dec 2013 10:59:44 +0000 (11:59 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 3 Dec 2013 11:11:56 +0000 (12:11 +0100)
Fix following issues:
    - Outdated usage instructions on index page
    - Missing C++ class inheritance information
      caused by missing dependency to qtwidgets
    - Broken \snippet in 'Generating Qt Help'

Task-number: QTBUG-34897
Change-Id: I53dd0fbf41e1dfcd41e11f1ab19db7069839477a
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/assistant/help/doc/qthelp.qdocconf
src/assistant/help/doc/snippets/doc_src_qthelp.qdoc
src/assistant/help/doc/src/qthelp.qdoc

index a5581a0..bd2c527 100644 (file)
@@ -26,7 +26,7 @@ qhp.QtHelp.subprojects.classes.sortPages = true
 
 language                = Cpp
 
-depends                 += qtdoc qtcore qtassistant
+depends                 += qtdoc qtcore qtassistant qtwidgets
 
 headerdirs += ..
 
index c8f2ed9..1d9d8ce 100644 (file)
@@ -39,7 +39,7 @@
 ****************************************************************************/
 
 //! [1]
-CONFIG += help
+QT += help
 //! [1]
 
 
index a191b02..ddd3c31 100644 (file)
     an extension of \c .qhp, has to be created. After specifying all relevant
     information in this file, it needs to be compiled by calling:
 
-    \snippet doc/src/snippets/code/doc_src_qthelp.qdoc 2
+    \snippet doc_src_qthelp.qdoc 2
 
     The file 'doc.qch' contains then all HTML files in compressed
     form along with the table of contents and index keywords. To