From adeaab9745c681e99b6bf7b3144a6fc0878a387f Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 27 Feb 2015 20:17:59 +0100 Subject: [PATCH] Fix build in a kdelibs4-free enviroment If one had kdelibs includes in /usr, they would get magically picked up, so the build would succeed. --- CMakeLists.txt | 2 +- src/dolphinmainwindow.cpp | 1 - src/dolphinpart.cpp | 1 - src/dolphinpart_ext.h | 3 ++- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 05c6e9cbe2..e3dc4567df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,10 +33,10 @@ ecm_setup_version(${DOLPHIN_VERSION} VARIABLE_PREFIX DOLPHINPRIVATE find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core + Concurrent Widgets Gui DBus - Test ) find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 1eda03e3c7..da6c5319d6 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -48,7 +48,6 @@ #include #include #include -#include #include #include #include diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index ea0ffd92c6..1c0d611b99 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include diff --git a/src/dolphinpart_ext.h b/src/dolphinpart_ext.h index 6adf64972e..0b7018dbb2 100644 --- a/src/dolphinpart_ext.h +++ b/src/dolphinpart_ext.h @@ -22,7 +22,8 @@ #include #include -#include +#include +#include #include class DolphinPart;