diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-03-01 16:38:39 (GMT) |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-03-04 11:45:16 (GMT) |
commit | bb97a377dd15819357937b4644baa8848d22a990 (patch) | |
tree | 4eb934fcc0d723c6b45bf8d6ac13bec3d1b5298e /Source/cmQtAutoGenInitializer.h | |
parent | 57fd4b9d65e86010b2aba0ab00d62eb90a5ddc50 (diff) | |
download | CMake-bb97a377dd15819357937b4644baa8848d22a990.zip CMake-bb97a377dd15819357937b4644baa8848d22a990.tar.gz CMake-bb97a377dd15819357937b4644baa8848d22a990.tar.bz2 |
Autogen: Fallback on internal qrc parser when RCC isn't built yet
When building a Qt project, the AUTORCC functionality, by default,
uses the rcc binary to get the contents of a qrc file for
dependency information. This is done at CMake "generate" time.
The problem is that while configuring Qt itself, the rcc binary is
not built yet.
In that case, to get the contents of the qrc file, fall back to
the code branch which uses an ifstream instead of the rcc binary.
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r-- | Source/cmQtAutoGenInitializer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h index 700f16b..1f4087f 100644 --- a/Source/cmQtAutoGenInitializer.h +++ b/Source/cmQtAutoGenInitializer.h @@ -68,6 +68,7 @@ public: std::string ExecutableTargetName; cmGeneratorTarget* ExecutableTarget = nullptr; std::string Executable; + bool ExecutableExists = false; /// @brief Constructor GenVarsT(GenT gen, std::string const& genName, |