summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.h
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-02-18 15:02:46 (GMT)
committerAlexey Edelev <alexey.edelev@qt.io>2021-02-23 12:46:40 (GMT)
commit1265c65b330c3ba25136c6fa75fc93945c4ebec2 (patch)
tree1584eae43e057e10178dd5e7b3f521a15ec4829f /Source/cmQtAutoGenInitializer.h
parent772c32831fa7b62fbb09fca7655d0b538926c5e4 (diff)
downloadCMake-1265c65b330c3ba25136c6fa75fc93945c4ebec2.zip
CMake-1265c65b330c3ba25136c6fa75fc93945c4ebec2.tar.gz
CMake-1265c65b330c3ba25136c6fa75fc93945c4ebec2.tar.bz2
AUTOUIC: Collect ui header files for Ninja generator
The '<user target>_autogen/timestamp' target supposed to generate ui header files using the 'uic'. Ninja must have information about these header files as a result of generating. The fix collects .ui files of the user target and generates a list of the ui headers that need to be added to the generating results of the '<user target>_autogen/timestamp' target. The case when the .ui files are not specified and collected by AUTOUIC from the include directives of the project source files is not covered in this patch. Fixes: #16776
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r--Source/cmQtAutoGenInitializer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h
index f7e126d..fdb65d3 100644
--- a/Source/cmQtAutoGenInitializer.h
+++ b/Source/cmQtAutoGenInitializer.h
@@ -239,6 +239,8 @@ private:
std::vector<UiFileT> UiFiles;
ConfigStrings<std::vector<std::string>> Options;
std::vector<std::string> SearchPaths;
+ std::vector<std::pair<ConfigString /*ui header*/, std::string /*genex*/>>
+ UiHeaders;
} Uic;
/** rcc variables. */