Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0, 5.3.0, 5.4.0, 5.5.0, 5.6, 5.7, 5.9, 5.10
-
None
-
Unix Makefiles
-
ca572a61446ba5cdae523614c874a09347b8e919 97d651711480be05a060b37baa6c86bf75c3df30 (qt/qtbase/wip/qt6)
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
Issue Links
- is required for
-
QTCREATORBUG-1627 qrc files are not always recompiled-in when changed
- Closed
- relates to
-
QTCREATORBUG-231 Creator should know when to rerun qmake
- Closed
-
QTCREATORBUG-12280 Many issues with Qt Creator's switch to deploy via qrc by default
- Closed
-
QTVSADDINBUG-130 Resources are not always compiled if resource file is modified
- Closed
- replaces
-
QTCREATORBUG-17564 Rebuild/Clean not work, have to delete the build directory
- Closed
For Gerrit Dashboard: QTBUG-13334 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
9722,2 | qmake: Allow extra compilers to have the makefile depend on its inputs | master | qt/qtbase | Status: MERGED | +2 | 0 |
86324,2 | Fix QMAKE_EXTRA_COMPILERS' depend_command being ignored | dev | qt/qtbase | Status: MERGED | -1 | 0 |
269054,5 | Fix Makefile re-generation for debug_and_release builds | dev | qt/qtbase | Status: MERGED | +2 | 0 |