Commit 52300b02 authored by Laurent Montel's avatar Laurent Montel 😁

Add kcrash support

parent dcab2b7b
......@@ -46,6 +46,7 @@ find_package(KF5 5.2.0 REQUIRED
Wallet
WindowSystem
XmlGui
Crash
)
add_subdirectory( doc )
......
......@@ -56,6 +56,7 @@ target_link_libraries(kwalletmanager5
KF5::IconThemes
KF5::Notifications
KF5::WindowSystem
KF5::Crash
)
install(TARGETS kwalletmanager5 ${INSTALL_TARGETS_DEFAULT_ARGS} )
......
......@@ -30,12 +30,13 @@
#include <QFileInfo>
#include <QMimeDatabase>
#include <QMimeType>
#include <KCrash>
int main(int argc, char **argv)
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication a(argc, argv);
KCrash::initialize();
KLocalizedString::setApplicationDomain("kwalletmanager");
/**
......
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