Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95713 Post-Qt-6.2.0 release CMake API follow ups
  3. QTBUG-95151

Consider if we can use hard links for qml files to facilitate proper qmllint warning messages

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Fix Version/s: 6.3
    • Labels:
      None

      Description

      Context https://git.qt.io/alcroito/qt6-cmake-api-review/-/commit/ed215251491dd566c8791e4c4946c0d41d91d03c#f3ff9c1b48af14adf093e2af0c5cf2849829bb6d_255_257

      If qmllint is executed on qml files from the build dir, that will show warning messages pointing to the file paths in the build dir, which if a user edits, might be overwritten later because it's not the original source file.

      Consider if we can hard link qml files instead of copying them into the build dir. Thus if a user in an IDE clicks the warning, they'd still fix the correct file.

        Attachments

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

          Activity

            People

            Assignee:
            qtqmlteam Qt Qml Team User
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes