Details
-
Sub-task
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
Description
qdoc3 does not process the following code correctly..
/*!
\if defined(QTOPIA_PLATFORM)
\title Qtopia Release Notes (Platform Edition)
\section1 Qtopia Release Notes (Platform Edition)
\else
\if defined(QTOPIA_OPENSOURCE)
\title Qtopia Release Notes (Open Source Edition)
\section1 Qtopia Release Notes (Open Source Edition)
\else
\title Qtopia Release Notes
\section1 Qtopia Release Notes
\endif
\endif
...
*/
When QTOPIA_PLATFORM is defined, the following error is reported by qdoc3:
/usr/local/qtopia/qtopia-platform-4.2.3/doc/src/releasenotes.qdoc:14: Unexpected '\endif'
When QTOPIA_PLATFORM is not defined, no errors are reported.
Problem: If the outermost if-statement has an else-block that contains a nested if-statement, qdoc does not consume the correct number of \endif directives when the condition of the outermost if-statement evaluates to true.
Attachments
Issue Links
- is required for
-
QTBUG-2642 qdoc enhancements for Qt 4.6
-
- Closed
-