Commit f783c752 authored by Filipe Saraiva's avatar Filipe Saraiva

Now version number is updated from KDE Applications version number

parent fb5d6d79
......@@ -4,6 +4,13 @@ cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
add_definitions(-DMAKE_CANTORLIBS_LIB)
# KDE Application Version, managed by release script
set (KDE_APPLICATIONS_VERSION_MAJOR "16")
set (KDE_APPLICATIONS_VERSION_MINOR "03")
set (KDE_APPLICATIONS_VERSION_MICRO "80")
set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
find_package(ECM 5.15.0 REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${cantor_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
......
......@@ -405,7 +405,7 @@ KAboutData& CantorPart::createAboutData()
static KAboutData about(QLatin1String("cantorpart"),
QLatin1String("Cantor"),
QLatin1String("0.5"),
QLatin1String(CANTOR_VERSION),
i18n("CantorPart"),
KAboutLicense::GPL,
i18n("(C) 2009-2015 Alexander Rieder"),
......
#include "lib/config-cantorlib.h"
#define CANTOR_VERSION "${KDE_APPLICATIONS_VERSION}"
#cmakedefine LIBSPECTRE_FOUND 1
......@@ -19,6 +19,7 @@
*/
#include "cantor.h"
#include "config-cantor.h"
#include <QApplication>
#include <KAboutData>
#include <KCrash>
......@@ -30,9 +31,6 @@
static const char description[] =
I18N_NOOP("KDE Frontend to mathematical applications");
static const char version[] = "0.6";
int main(int argc, char **argv)
{
QApplication app(argc, argv);
......@@ -67,7 +65,7 @@ int main(int argc, char **argv)
KAboutData about(QLatin1String("cantor"),
QLatin1String("Cantor"),
QLatin1String(version),
QLatin1String(CANTOR_VERSION),
i18n(description),
KAboutLicense::GPL,
i18n("(C) 2016 Filipe Saraiva<br/>(C) 2009-2015 Alexander Rieder"),
......
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