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

As a QML developer, I want to write my own qmllint plugins to do domain specific checks

    XMLWordPrintable

Details

    Description

      Since Qt 6.4, qmllint features a plugin system, and has e.g. a plugin to check for common mistakes in QtQuick. While this is already helpful, many users create their own components (e.g. KDE's Kirigami), often with their own best practice guides.

       

      It is unrealistic to integrate checks for those custom features into the core qmllint application; however, by stabilizing the existing plugin system and making it public, we can allow those users to create their own checks.

       

      This will then subsequently help any users of those custom frameworks to avoid making mistakes, and consequently lead to a better developer experience.

       

      To enable users to create their own plugins, we need to

      1. avoid exposing internal types in the public API (instead: expose PIMPLed wrappers),
      2. document the API and
      3. provide one reference example on how to create such a plugin.

      Attachments

        Issue Links

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              fabiankosmale Fabian Kosmale
              Vladimir Minenko Vladimir Minenko
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes