From 3caf7e5b8fa8813c9d5258e6764c27bc5bcdd9c0 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 31 Dec 2023 23:16:23 +0100 Subject: [PATCH] Add Application Version --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 2261238..72df967 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,6 +5,8 @@ #include #include #include +#include +#include int main(int argc, char *argv[]) { @@ -13,6 +15,7 @@ int main(int argc, char *argv[]) QCoreApplication::setOrganizationName(QStringLiteral("KDE")); QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org")); QCoreApplication::setApplicationName(QStringLiteral("Hello World")); + QCoreApplication::setApplicationVersion(QStringLiteral("0.1.0")); if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) { QQuickStyle::setStyle(QStringLiteral("org.kde.desktop"));