Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
Could well be that this is "Fixed", at least I don't encounter something that looks odd to me. But I may misunderstand the context. Re-assigning to verify/close.
Description
The lookup for QML type descriptions in Qt Creator is so far done only on base of the QML type name. That is, when looking up Button with F1 in
import QtQuick.Controls 1.0
Button {
}
and
import QtQuick.Controls 2.0
Button {
}
we try to find the documentation of both by looking up the keyword QML.Button. Only after that Qt Creator tries to find the 'right' Button by checking out the help module name (commit f78dd2be6402bc075cda592f36bedd2b8f7c39df).
Instead, it should try to find QML.QtQuick.Controls1.Button and QML.QtQuick.Controls2.Button first. This would also help with other clashes, like Product in Qbs and QtPurchasing imports.
Attachments
Issue Links
- depends on
-
QTBUG-61876 qdoc: Include QML import + major version number in \keyword
- Closed
- relates to
-
QTCREATORBUG-16851 Qt Creator F1 help & Qt Quick Controls
- Closed
- resulted from
-
QBS-1149 Link to Qbs items from Qt Creator context help (F1)
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-18527 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
200105,2 | qmljs: look up QML.<module+majorversion>.type for Qml types | master | qt-creator/qt-creator | Status: NEW | 0 | 0 |