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

QML module files copied to build dir have nothing depending on them

    XMLWordPrintable

Details

    • 54e99531c8896da689b628309e1963683691d998 (qt/qtdeclarative/dev) e47556661b0208f6201e2eb1d9d61094586cd845 (qt/qtdeclarative/6.2)

    Description

      qt6_target_qml_sources() defines calls to add_custom_command(OUTPUT) for each qml file or resource file given to it. But no target depends on those copied files, so there is nothing in the build rules to make those files get updated if the source files change. The files will therefore only get updated when CMake runs (there is an execute_process() call to also copy the files at configure time).

      Attachments

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

        Activity

          People

            crscott Craig Scott
            crscott Craig Scott
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes