diff options
author | Martin Smith <martin.smith@digia.com> | 2013-02-06 13:41:04 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-08 17:37:51 +0100 |
commit | 4866fcf0081e0c416c0dc6f85f11eac66cde57ff (patch) | |
tree | 2fda9c22690e2f7ab26a912da8545d4659cd8140 /src/plugins/platforms/minimal/qminimalbackingstore.h | |
parent | 934afb5c57fce6d28ce0d7ae8ac1450e8d833b17 (diff) |
qdoc: Missing links to qRegisterMetaType()
A serious problem in the design of qdoc is its
C++ parser. It is an ad hoc recursive descent
parser, which has not kept pace with Qt's use
of the more esoteric aspects of C++. Part of
the problem is that qdoc does not send files
through the preprocessor before processing
them. The bottom line is qdoc needs the C++
parser used in Qt Creator.
But that is a long-term solution. In the short
term, we have to introduce minor hacks like
this one to keep qdoc going until the parser
can be replaced.
The problem in this case is that qdoc doesn't
handle the QT_PREPEND_NAMESPACE macro in
function declarations. The solution is to let
qdoc ignore the macro and just use the macro's
parameter, which is what qdoc wants anyway.
Task-number: QTBUG-28953
Change-Id: I5b9efcc10fa8fb500a44854ee995c2e50e9e16b5
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/plugins/platforms/minimal/qminimalbackingstore.h')
0 files changed, 0 insertions, 0 deletions