4
0
mirror of https://github.com/QuasarApp/CMake.git synced 2025-05-12 09:29:32 +00:00
2021-09-28 13:44:58 +03:00

699 B

QtUtils module

Module provides qt utils functions The module provides qt utils functions. This module contains some useful functions. Including provides translations functionality.


Translation


prepareQM (name sourceDir ts_files) - This function prepare translations for you projects.

  • name - This is a name of the translations target.
  • sourceDir - This is root source directory. Update will be scan this dir for prepare translations.
  • ts_files - This is list of the supported languages.

CMake Variables

  • The GIT_COMMIT_COUNT - This variable contains commits count
  • The GIT_COMMIT_HASH - This variable contains short version of the buildet commit hash.