Commit a874c8fb authored by Harald Sitter's avatar Harald Sitter 🚔

use kcrash so we can catch crashes with drkonqi

parent ef8c8b73
......@@ -18,6 +18,7 @@ find_package (Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Bookmarks
Crash
DocTools
I18n
WidgetsAddons
......@@ -32,7 +33,13 @@ set(kcharselect_SRCS kcharselectdia.cc main.cc )
add_executable(kcharselect ${kcharselect_SRCS})
target_link_libraries(kcharselect KF5::Bookmarks KF5::I18n KF5::WidgetsAddons KF5::XmlGui )
target_link_libraries(kcharselect
KF5::Bookmarks
KF5::Crash
KF5::I18n
KF5::WidgetsAddons
KF5::XmlGui
)
install(TARGETS kcharselect ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
......
......@@ -19,6 +19,7 @@
#include <QCommandLineParser>
#include <KAboutData>
#include <KCrash>
#include <KLocalizedString>
#include <Kdelibs4ConfigMigrator>
#include "kcharselectdia.h"
......@@ -26,6 +27,7 @@
int main(int argc, char **argv)
{
QApplication app( argc, argv );
KCrash::initialize();
KLocalizedString::setApplicationDomain("kcharselect");
......
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