Commit badcf99a authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'umbrello/KF5 does not show the KF5 crash dialog'.

Thanks to Christoph Feck for pointing out how to fix.

BUG:374415
FIXED-IN: 2.22.2 (KDE Applications 17.04.2)
parent 4def5639
......@@ -162,6 +162,7 @@ else()
Completion
Config
CoreAddons
Crash
DocTools
I18n
IconThemes
......
......@@ -580,7 +580,11 @@ else()
${CMAKE_CURRENT_SOURCE_DIR}/pics/global/128-apps-umbrello.png
)
add_executable(umbrello ${umbrello_SRCS})
target_link_libraries(umbrello libumbrello KF5::WindowSystem)
target_link_libraries(umbrello
libumbrello
KF5::Crash
KF5::WindowSystem
)
set_target_properties(umbrello PROPERTIES OUTPUT_NAME umbrello5)
endif()
if(LIB_BUILD_MODE EQUAL SHARED)
......
......@@ -28,6 +28,7 @@
#include <ktip.h>
#if QT_VERSION >= 0x050000
#include <KCrash>
#include <QApplication>
#include <QCommandLineParser>
#endif
......@@ -102,6 +103,7 @@ int main(int argc, char *argv[])
{
#if QT_VERSION >= 0x050000
QApplication app(argc, argv);
KCrash::initialize();
KLocalizedString::setApplicationDomain("umbrello");
......
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