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

multiple imports into the same namespace are not well supported

    XMLWordPrintable

Details

    • 8f682573a819b6665c6b878d3921dc124af842e8

    Description

      With the following example, QtCreator will give auto-completion for only the last import using "as Controls" (and types from the first import will get squiggles under the type names)

      import QtQuick 2.0
      import QtQuick.Controls 1.4 as Controls
      import QtQuick.Controls.Styles 1.4 as Controls
      
      Item {
          width: 400
          height: 400
      
          Controls.ComboBox {
              style: Controls.ComboBoxStyle {}
          }
      }
      

      Attachments

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

        Activity

          People

            cstenger Christian Stenger
            mbrasser Michael Brasser
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes