some fixes on the qt5 side for a none-git project source.

This commit is contained in:
2021-07-12 16:23:33 +02:00
parent 8faa501db7
commit 47e7ba2c70
4 changed files with 4 additions and 3 deletions

View File

@@ -529,7 +529,7 @@ int main(int argc, char *argv[])
return 0;
} else if (!qstrcmp(argv[1], "-v") || !qstrcmp(argv[1], "--version")) {
#ifdef HAVE_GIT_REV_H
std::cout << std::endl << "mupp version: " << MUPP_VERSION << ", git-branch: " << GIT_BRANCH << ", git-rev: " << GIT_COMMIT_HASH << std::endl << std::endl;
std::cout << std::endl << "mupp version: " << MUPP_VERSION << ", git-branch: " << GIT_BRANCH << ", git-rev: " << GIT_CURRENT_SHA1 << std::endl << std::endl;
#else
std::cout << std::endl << "mupp version: " << MUPP_VERSION << std::endl << std::endl;
#endif