Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.1.0 Beta3
-
None
-
54e99531c8896da689b628309e1963683691d998 (qt/qtdeclarative/dev) e47556661b0208f6201e2eb1d9d61094586cd845 (qt/qtdeclarative/6.2)
Description
qt6_target_qml_sources() defines calls to add_custom_command(OUTPUT) for each qml file or resource file given to it. But no target depends on those copied files, so there is nothing in the build rules to make those files get updated if the source files change. The files will therefore only get updated when CMake runs (there is an execute_process() call to also copy the files at configure time).
Attachments
For Gerrit Dashboard: QTBUG-95365 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
362220,2 | Ensure qml and resource files are copied to build directory | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
362462,3 | Ensure qml and resource files are copied to build directory | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
362552,2 | Fix static build broken by tooling target missing from export set | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
362926,2 | Fix static build broken by tooling target missing from export set | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |