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

Add gcc-style dependency output to rcc

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.14.0 Alpha
    • 5.4.0
    • Build tools: rcc
    • None
    • a03270f8917a5e5e6fd0c3ffcf3fb4f705e8cffa (qt/qtbase/dev)

    Description

      The rcc compiler should output a list of files that it depends on to make integrating it to build systems easier.

      A simple use case is putting qml files in qresources and triggering a rebuild when the qml files are changed. This is described in detail here: https://github.com/jpakkane/meson/issues/97

      Having rcc produce this dependency file is the most user-friendly approach, because then it will always be up to date and the user don't need to write the list of files in two places (the qrc and the build definition file).

      There is a similar bug report for Gnome's resource compiler here: https://bugzilla.gnome.org/show_bug.cgi?id=745754

      Attachments

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

        Activity

          People

            hjk hjk
            jpakkane Jussi Pakkanen
            Votes:
            8 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes