[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [tellico] /: Initialize KCrash handler and link library
From: Robby Stephenson <robby () periapsis ! org>
Date: 2016-01-31 20:36:38
Message-ID: E1aPyje-0007aL-BY () scm ! kde ! org
[Download RAW message or body]
Git commit 293a60643d0f8daebc2bd4ad34b487b87602d151 by Robby Stephenson.
Committed on 30/01/2016 at 20:39.
Pushed by rstephenson into branch 'master'.
Initialize KCrash handler and link library
M +4 -3 CMakeLists.txt
M +1 -0 src/CMakeLists.txt
M +3 -0 src/main.cpp
http://commits.kde.org/tellico/293a60643d0f8daebc2bd4ad34b487b87602d151
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e9b4061..6bf4fc0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,17 +55,18 @@ find_package(KF5 REQUIRED COMPONENTS
Config
ConfigWidgets
CoreAddons
+ Crash
DocTools
+ GuiAddons
IconThemes
I18n
+ JobWidgets
KIO
Solid
+ Wallet
WidgetsAddons
- GuiAddons
XmlGui
- JobWidgets
KDELibs4Support
- Wallet
)
find_package(KF5KHtml REQUIRED NO_MODULE)
=
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bec1ed8..64e42e8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -88,6 +88,7 @@ TARGET_LINK_LIBRARIES(tellico
Qt5::Core
Qt5::Widgets
Qt5::DBus
+ KF5::Crash
KF5::KIOCore
KF5::KHtml
KF5::KDELibs4Support
diff --git a/src/main.cpp b/src/main.cpp
index b03fcf5..53c6086 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -29,6 +29,7 @@
=
#include <KAboutData>
#include <KLocalizedString>
+#include <KCrash>
=
#include <QApplication>
#include <QCommandLineParser>
@@ -38,6 +39,8 @@ int main(int argc, char* argv[]) {
QApplication app(argc, argv);
app.setApplicationVersion(QStringLiteral(TELLICO_VERSION));
=
+ KCrash::initialize();
+
KAboutData aboutData(QLatin1String("tellico"), QLatin1String("Tellico"),
QLatin1String(TELLICO_VERSION), i18n("Tellico - a c=
ollection manager for KDE"),
KAboutLicense::GPL_V2,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic