Commit 5686ed46 authored by Laurent Montel's avatar Laurent Montel 😁

Add Application/Versioning

parent 1ca4ca45
......@@ -35,6 +35,14 @@ add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
add_definitions(-DTRANSLATION_DOMAIN="kdebugsettings")
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
# KDE Application Version, managed by release script
set (KDE_APPLICATIONS_VERSION_MAJOR "15")
set (KDE_APPLICATIONS_VERSION_MINOR "08")
set (KDE_APPLICATIONS_VERSION_MICRO "0")
set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
configure_file(config-kdebugsettings.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kdebugsettings.h)
add_subdirectory( src )
if (BUILD_TESTING)
......
#define KDEBUGSETTINGS_VERSION "${KDE_APPLICATIONS_VERSION}"
include_directories(${CMAKE_BINARY_DIR})
set(kdebugsettings_SRCS
main.cpp
kdebugsettingsdialog.cpp
......
......@@ -20,6 +20,7 @@
#include <QApplication>
#include "config-kdebugsettings.h"
#include "kdebugsettingsdialog.h"
#include <KLocalizedString>
......@@ -31,7 +32,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
KAboutData aboutData(QStringLiteral("kdebugsettings"), i18n("kdebugssettings"), QStringLiteral("1.1"),
KAboutData aboutData(QStringLiteral("kdebugsettings"), i18n("kdebugssettings"), QStringLiteral(KDEBUGSETTINGS_VERSION),
i18n("Configure debug settings"), KAboutLicense::GPL_V2,
i18n("(c) 2015 kdebugsettings authors"));
aboutData.addAuthor(i18n("Laurent Montel"), i18n("Maintainer"), QStringLiteral("montel@kde.org"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment