summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-23 08:41:23 +0200
committerMontel Laurent <[email protected]>2017-10-23 08:41:23 +0200
commit95f256a75e209a6f386085cc71a9153a36ce9ca5 (patch)
treedbe042dc7e52d8cd670e712433e1da1d0917c187
parenta4a4d9ede6d89debdc72875c3b16a53fbb5e5f39 (diff)
It's already done in kaboutdata
-rw-r--r--CMakeLists.txt6
-rw-r--r--src/main.cpp2
2 files changed, 3 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 80d7997..46ce1fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,10 +1,10 @@
project(kiriki)
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
-set (QT_MIN_VERSION "5.3.0")
-set (KF5_MIN_VERSION "5.15.0")
+set (QT_MIN_VERSION "5.7.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 PrintSupport)
diff --git a/src/main.cpp b/src/main.cpp
index 4f5114a..dde8a4b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -27,8 +27,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);