From: Hrvoje Senjan Date: Fri, 27 Feb 2015 19:17:59 +0000 (+0100) Subject: Fix build in a kdelibs4-free enviroment X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/adeaab9745c681e99b6bf7b3144a6fc0878a387f 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. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 05c6e9cbe..e3dc4567d 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 1eda03e3c..da6c5319d 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 ea0ffd92c..1c0d611b9 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 6adf64972..0b7018dbb 100644 --- a/src/dolphinpart_ext.h +++ b/src/dolphinpart_ext.h @@ -22,7 +22,8 @@ #include #include -#include +#include +#include #include class DolphinPart;