Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18527

Look up QML.QMLImport<majorversionnumber>.QMLType for Qml types

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Help System
    • 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.

      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.

        For Gerrit Dashboard: QTCREATORBUG-18527
        # Subject Branch Project Status CR V

            qtqmlteam Qt Qml Team User
            kkohne Kai Köhne
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change