From a3b72a8224fac972b80558537bc3f852276c6b12 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 20 Aug 2020 16:14:51 +0300 Subject: [PATCH] kimageviewer: fix build Signed-off-by: Ivailo Monev --- kimageviewer/CMakeLists.txt | 8 ++++---- kimageviewer/kimagewidget.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/kimageviewer/CMakeLists.txt b/kimageviewer/CMakeLists.txt index 8d9856a4..c57701b7 100644 --- a/kimageviewer/CMakeLists.txt +++ b/kimageviewer/CMakeLists.txt @@ -35,17 +35,17 @@ target_link_libraries(kimageviewerpart ## install everything install( TARGETS kimageviewer - DESTINATION ${BIN_INSTALL_DIR} + DESTINATION ${KDE4_BIN_INSTALL_DIR} ) install( TARGETS kimageviewerpart - DESTINATION ${PLUGIN_INSTALL_DIR} + DESTINATION ${KDE4_PLUGIN_INSTALL_DIR} ) install( PROGRAMS kimageviewer.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} + DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR} ) install( PROGRAMS kimageviewerpart.desktop - DESTINATION ${SERVICES_INSTALL_DIR} + DESTINATION ${KDE4_SERVICES_INSTALL_DIR} ) diff --git a/kimageviewer/kimagewidget.h b/kimageviewer/kimagewidget.h index f94c117b..ce8f3c07 100644 --- a/kimageviewer/kimagewidget.h +++ b/kimageviewer/kimagewidget.h @@ -24,7 +24,9 @@ #include #include +QT_BEGIN_NAMESPACE class Ui_KImageUI; +QT_END_NAMESPACE namespace KImageViewer {