Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0, 5.9.0 Beta 3
-
None
-
MacOSX and Ubuntu linux.
Ninja used in cmake process
-
43e444d1ffac9d63eeb2053465d02ce4a6cc7410
Description
The qt5_add_binary_resources() cmake macro does not result in a recompile of the binary output, when the input file is updated via a cmake generator.
This occurs because the input file is not specified as a dependency (though the files listed in its contents are).
Adding the input files to the DEPENDS option corrects this issue:
257 - DEPENDS ${rc_depends} ${out_depends} to 257 - DEPENDS ${rc_depends} ${out_depends} ${infiles}
Attachments
For Gerrit Dashboard: QTBUG-60714 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
207331,4 | CMake: qt5_add_binary_resource: re-run if needed | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |