diff options
author | saturneric <[email protected]> | 2024-07-28 17:45:39 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-28 17:45:39 +0000 |
commit | 7a552f4d9dc0455b66ea2329bc1cd06a71bc6a79 (patch) | |
tree | c344bf0615bc49f80bb81519810bade0d6ea05ba /src/cmd.cpp | |
parent | fix: errors in judgment conditions (diff) | |
download | GpgFrontend-7a552f4d9dc0455b66ea2329bc1cd06a71bc6a79.tar.gz GpgFrontend-7a552f4d9dc0455b66ea2329bc1cd06a71bc6a79.zip |
feat: support more build modesdk/2.1.3
Diffstat (limited to 'src/cmd.cpp')
-rw-r--r-- | src/cmd.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cmd.cpp b/src/cmd.cpp index 1f3182fe..06222431 100644 --- a/src/cmd.cpp +++ b/src/cmd.cpp @@ -28,11 +28,16 @@ #include "cmd.h" +#include <qdatetime.h> #include <qglobal.h> +#include <qloggingcategory.h> +#include <qstring.h> +#include <qtextstream.h> #include "core/utils/BuildInfoUtils.h" // GpgFrontend + #include "GpgFrontendContext.h" #include "test/GpgFrontendTest.h" @@ -40,7 +45,7 @@ namespace GpgFrontend { auto PrintVersion() -> int { QTextStream stream(stdout); - stream << PROJECT_NAME << " " << GetProjectVersion() << '\n'; + stream << GetProjectName() << " " << GetProjectVersion() << '\n'; stream << "Copyright (©) 2021 Saturneric <[email protected]>" << '\n' << QCoreApplication::tr( "This is free software; see the source for copying conditions.") |