diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-03-02 13:06:02 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-03-06 21:01:02 (GMT) |
commit | 699321bfd5a997aceb64649c83ce78044ce11cc1 (patch) | |
tree | 89a59851dbf2e1b0448b82c42e65812e5f132768 /Source/cmQtAutoGeneratorCommon.h | |
parent | a28ae16e3cd6d42ab068b5bc0bedf5725a6ce743 (diff) | |
download | CMake-699321bfd5a997aceb64649c83ce78044ce11cc1.zip CMake-699321bfd5a997aceb64649c83ce78044ce11cc1.tar.gz CMake-699321bfd5a997aceb64649c83ce78044ce11cc1.tar.bz2 |
Autogen: Add support for generated .qrc files
Diffstat (limited to 'Source/cmQtAutoGeneratorCommon.h')
-rw-r--r-- | Source/cmQtAutoGeneratorCommon.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmQtAutoGeneratorCommon.h b/Source/cmQtAutoGeneratorCommon.h index 48abacb..ee97b71 100644 --- a/Source/cmQtAutoGeneratorCommon.h +++ b/Source/cmQtAutoGeneratorCommon.h @@ -17,13 +17,18 @@ public: static const char* listSep; public: + /// @brief Returns a the string escaped and enclosed in quotes + /// + static std::string Quoted(const std::string& text); + /// @brief Reads the resource files list from from a .qrc file /// @arg fileName Must be the absolute path of the .qrc file /// @return True if the rcc file was successfully parsed static bool RccListInputs(const std::string& qtMajorVersion, const std::string& rccCommand, const std::string& fileName, - std::vector<std::string>& files); + std::vector<std::string>& files, + std::string* errorMessage = CM_NULLPTR); }; #endif |