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

CMake: Improve _qmllint target for QML modules

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Technical Risk:
      Normal

      Description

      While the new qmllint target mostly works great, there are three remaining issues with our new qmllint target:

      • the qmllint target does not depend on the qmltypes getting generated yet. That needs to be fixed especially in CI settings where certain runners might just want to call the qmllint target Done
      • the qmllint target calls qmllint on the copied module files instead of the original source location (in combination with the generated .qrc as a --resource option so it can find all of its sibling files) Done

      The following has now been split out to its own separate task in QTBUG-95157 due to a lower priority:

      • I think there still isn't a variable to invoke qmllint with --json? It'd be a great to make that possible with either a target property or an additional qmllint_json target

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              crscott Craig Scott
              Reporter:
              max.goldstein Maximilian Goldstein
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes