qdoc: Allow QML linking without version nr
authorMartin Smith <martin.smith@digia.com>
Mon, 4 Mar 2013 11:37:44 +0000 (12:37 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 4 Mar 2013 14:36:56 +0000 (15:36 +0100)
commitc0c38912ebf0640ddae71f507bed6cc0b8c82fe6
treecb7c03e520758309644487483785601c52961b34
parent7ed41b0e542b725c06405d837a8d6b8c10269645
qdoc: Allow QML linking without version nr

This change allows links of the form:
\l{qml-module-name::qml-type}{name}
i.e. no version number provided.

This change does not handle collisions.
There aren't any in Qt5 at the moment.
If a collision occurs, qdoc will link to
the name in one of the colliding QML
modules, but not necessarily the most
recent one. Hence, the link may go to
the wrong page. A further update might
be forthcoming that will handle this
better.

Task-number: QTBUG-29778
Change-Id: Ie2c2b117446ed02852593dd0273c390d39fed927
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/tools/qdoc/qdocdatabase.cpp