Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76017

QML is hard to integrate with Tooling

    XMLWordPrintable

Details

    Description

      • Due to the weak typing and the dynamic nature of the language, refactoring tools difficult to implement​. Consequently there aren't any right now.
      • Code completion in QtCreator is buggy and the code model is not fully populated​. This is because many sources of symbols can ony be accessed through heuristics, in particular:
        • plugins without .qmltypes files
        • types registered from C++ code via qmlRegisterFoo(...)
        • context properties.
      • Currently QML itself does not offer a usable library for tooling. Therefore the code model, as well as all the tools in QtCreator are implemented independently of QML itself. This leads to widespread code duplication and inconsistencies in the interpretation of the language. In particular the grammar sometimes gets out of sync.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes