summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-08-19 16:22:47 (GMT)
committerBrad King <brad.king@kitware.com>2021-08-19 16:23:16 (GMT)
commitd2a6e160aa74479fc623918b084423739a9b80c7 (patch)
tree2f70830294927051da466660fb28484d25f205f0 /Source/cmQtAutoGenerator.h
parent30dd9b33a048ec76fd48665f3793cf282cd75f12 (diff)
downloadCMake-d2a6e160aa74479fc623918b084423739a9b80c7.zip
CMake-d2a6e160aa74479fc623918b084423739a9b80c7.tar.gz
CMake-d2a6e160aa74479fc623918b084423739a9b80c7.tar.bz2
AUTOUIC: Revert "Fix generating of dependency rules for UI header files"
Revert commit e5ec0e52f4 (AUTOUIC: Fix generating of dependency rules for UI header files, 2021-07-22, v3.21.1~8^2) because it caused regressions. For example, changing one C++ source can now cause many others to rebuild. Revert the change pending further investigation. Fixes: #22531 Issue: #16776
Diffstat (limited to 'Source/cmQtAutoGenerator.h')
-rw-r--r--Source/cmQtAutoGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerator.h b/Source/cmQtAutoGenerator.h
index 66399d7..5c3a8ad 100644
--- a/Source/cmQtAutoGenerator.h
+++ b/Source/cmQtAutoGenerator.h
@@ -70,6 +70,8 @@ public:
// -- File system methods
static bool MakeParentDirectory(std::string const& filename);
+ static bool FileRead(std::string& content, std::string const& filename,
+ std::string* error = nullptr);
static bool FileWrite(std::string const& filename,
std::string const& content,
std::string* error = nullptr);