cmQtAutoGeneratorCommon.h 893 B

1234567891011121314151617181920212223242526272829
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmQtAutoGeneratorCommon_h
  4. #define cmQtAutoGeneratorCommon_h
  5. #include <cmConfigure.h> // IWYU pragma: keep
  6. #include <string>
  7. #include <vector>
  8. class cmGeneratorTarget;
  9. class cmLocalGenerator;
  10. class cmQtAutoGeneratorCommon
  11. {
  12. // - Types and statics
  13. public:
  14. static const char* listSep;
  15. public:
  16. /// @brief Reads the resource files list from from a .qrc file
  17. /// @arg fileName Must be the absolute path of the .qrc file
  18. /// @return True if the rcc file was successfully parsed
  19. static bool RccListInputs(const std::string& qtMajorVersion,
  20. const std::string& rccCommand,
  21. const std::string& fileName,
  22. std::vector<std::string>& files);
  23. };
  24. #endif