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

qrc files are not added to Makefile dependencies in debug_and_release mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 4.7.0, 5.3.0, 5.4.0, 5.5.0, 5.6, 5.7, 5.9, 5.10
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      Unix Makefiles
    • Commits:
      ca572a61446ba5cdae523614c874a09347b8e919

      Description

      When processing a qrc file, qmake does add dependencies to the generated Makefile, such that a change in the resource file will trigger a recompile. However, adding resources later on does not trigger qmake to be re-run, and changes to the new resource files therefore don't trigger a recompile.

      How to reproduce

      • Download attached minimal application
      • Run qmake / make
      • Add file2.txt to qrc file (e.g. by removing the comments)
      • Run make
      • Touch file1.txt
      • Run make
      • qrc_qmaketest.cpp is updated
      • Touch file2.txt
      • Run make
      • qrc_qmaketest.cpp is not updated

        Attachments

        1. Makefile
          49 kB
        2. qmaketest.tgz
          2 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                buddenha Oswald Buddenhagen
                Reporter:
                kkohne Kai Köhne
              • Votes:
                51 Vote for this issue
                Watchers:
                48 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes