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

    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

        For Gerrit Dashboard: QTBUG-95151
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes