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

Improve auto-completion suggestions list for QML module imports

    XMLWordPrintable

Details

    Description

      When you type "import QtQuick.Controls.", you see the following suggestions:

       

      There are 3 shortcomings when working on a Qt 6 project:

      • Only the "Material" and "Universal" styles are suggested. "Fusion", "Imagine", "Basic", and the platform-specific styles ("Windows", "macOS", "iOS") are not shown.
      • "Styles" is also shown as an option, even though "import QtQuick.Controls.Styles" is not a valid import for Qt 6.
      • A module is suggested multiple times, with different version numbers. This is unnecessary clutter, since Qt 6 encourages versionless imports.

      Attachments

        Issue Links

          Activity

            People

              qtqmlteam Qt Qml Team User
              skoh-qt Sze Howe Koh
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: