aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-28 17:45:39 +0000
committersaturneric <[email protected]>2024-07-28 17:47:40 +0000
commit3ef497cbeb8835ef13e20c690a4fb83a9f5c4eac (patch)
treec344bf0615bc49f80bb81519810bade0d6ea05ba /src/cmd.cpp
parentfix: errors in judgment conditions (diff)
downloadGpgFrontend-3ef497cbeb8835ef13e20c690a4fb83a9f5c4eac.tar.gz
GpgFrontend-3ef497cbeb8835ef13e20c690a4fb83a9f5c4eac.zip
feat: support more build mode
Diffstat (limited to 'src/cmd.cpp')
-rw-r--r--src/cmd.cpp7
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.")