MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0015419 | CMake | CMake | public | 2015-02-25 16:26 | 2016-06-10 14:31 | |||||
Reporter | Stephen Kelly | |||||||||
Assigned To | Kitware Robot | |||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||
Status | closed | Resolution | moved | |||||||
Platform | OS | OS Version | ||||||||
Product Version | ||||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0015419: QtAutogen does not regenerate moc file when moc inputs change | |||||||||
Description | There are two file-inputs to moc in Qt 5 - the C++ header file being moc'd, and the optional JSON metadata files referenced therein. CMake performs file timestamp comparison on the C++ header file during autogen, but does not do similar tracking for the JSON files. CMake should parse the C++ header file for the Q_PLUGIN_METADATA macro FILE argument, and add the list of referenced JSON files to the generated AutogenInfo.cmake file. The contents of this list should then be file-timestamp-checked. Similar logic for lists of input files affecting the tool input was added for qrc files in commit v3.2.0-rc1~480^2 (QtAutogen: Regenerate qrc files if their input changes (0015074), 2014-09-17), and the solution to this issue with the moc tool will be similar. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2015-02-25 16:26 | Stephen Kelly | New Issue | ||||||||
2015-02-25 16:48 | Stephen Kelly | Relationship added | related to 0015420 | |||||||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042720 | ||||||||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | |||||||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | |||||||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | |||||||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|