summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-23 08:06:15 +0200
committerMontel Laurent <[email protected]>2017-10-23 08:06:15 +0200
commit9de0e4e9ad6bfc839502284888e3ac903a0fb92e (patch)
tree34ed5ca44c1ace2cac11e761152b7b865e225d54
parentaf523ecff734f662e2a55b0cbeb88ebc3a62b93b (diff)
It's already done in kaboutdata
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/main.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10c8124..b9eb176 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,9 +2,9 @@ project(kgoldrunner)
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
set (QT_MIN_VERSION "5.7.0")
-set (KF5_MIN_VERSION "5.23.0")
+set (KF5_MIN_VERSION "5.30.0")
-find_package(ECM 1.7.0 REQUIRED CONFIG)
+find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets Svg Test)
diff --git a/src/main.cpp b/src/main.cpp
index 65453dc..48988a1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -52,8 +52,6 @@ int main (int argc, char **argv)
QCommandLineParser parser;
KAboutData::setApplicationData(about);
KCrash::initialize();
- parser.addVersionOption();
- parser.addHelpOption();
about.setupCommandLine(&parser);
parser.process(app);
about.processCommandLine(&parser);