diff options
author | Topi Reinio <topi.reinio@qt.io> | 2017-10-26 14:53:28 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2017-10-27 14:36:53 +0000 |
commit | 45559920921336d27baf155dd67d747de3051cd6 (patch) | |
tree | 833994e2d0ccf109a6acccffbb3e821eb73e98d7 /src/qdoc/clangcodeparser.cpp | |
parent | c7a77b7d6e8b0b009364636c1011cf4551d04ac0 (diff) | |
download | qttools-45559920921336d27baf155dd67d747de3051cd6.tar.gz |
qdoc: Improve linking of QML types
QML types and QML basic types were not autolinked correctly in many
instances.
- Provide correct context (genus) for code quote commands. This
guarantees that the types resolve correctly for a \qml snippet
even if there are colliding C++ target names.
Note: we do not enforce 'CPP' genus for \code command, as
it is commonly used also with QML code.
- Similarly for examples, each .qml source file is set to have QML
genus.
- Remove QML basic types from the hard-coded map for known (C++)
types/keywords. This prevented linking to these types.
Task-number: QTBUG-62440
Change-Id: I578d8d4675e99cb4ba54171031efd8dc93040160
Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions