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

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

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Help System
    • None

    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

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

          Activity

            People

              mabenell Marco Benelli
              kkohne Kai Köhne
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change