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

Add gcc-style dependency output to rcc

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.4.0
    • Fix Version/s: 5.14.0 Alpha
    • Component/s: Build tools: rcc
    • Labels:
      None
    • Commits:
      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

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            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