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

Don't enable qmlls by default yet

    XMLWordPrintable

Details

    Description

      qmlls does not currently work out-of-the-box.

       

      Current behaviour

      Suppose a user uses "File" > "New Project" > "Application (Qt)" > "Qt Quick Application" to create a new project called "MyProject", and then they simply add "import MyProject" to the auto-generated Main.qml file. qmlls will fail to recognize the import and emit bogus warnings.

      To further complicate things, qmlls is only used for projects that use Qt 6.8 or newer by default.

       

      Confusions caused

      There have been multiple cases where users wondered what they're doing wrong in their project, and/or what changed between Qt 6.7 and Qt 6.8. Even though there's nothing wrong with their project.

       

      Workarounds

      Users could either

      • Enable .qmlls.ini, OR
      • Disable qmlls

       

      Suggestion
      The workarounds above would not be easy for newcomers to find. It would be preferable to only enable qmlls after it works out-of-the-box (QTCREATORBUG-31897 )

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sami.shalayel Sami Shalayel
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes