From 53af2bd75cce111b316530bca9a83ca7342f1a50 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Jul 2015 19:00:14 +0200 Subject: [PATCH] Fix echonest qt5 compilation issues with different GNU/Linux distributions --- CMakeLists.txt | 2 +- src/main.cpp | 2 +- src/songinfo/echonestbiographies.cpp | 2 +- src/songinfo/echonestimages.cpp | 2 +- src/songinfo/echonestsimilarartists.cpp | 2 +- src/songinfo/echonesttags.cpp | 2 +- src/songinfo/songkickconcerts.cpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 836902c1e..1031495b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -371,7 +371,7 @@ else (USE_SYSTEM_QXT) endif (NOT APPLE) endif (USE_SYSTEM_QXT) -find_path(ECHONEST5_INCLUDE_DIRS echonest5/echonest_export.h) +find_path(ECHONEST5_INCLUDE_DIRS Artist.h PATH_SUFFIXES echonest5 echonest) find_library(ECHONEST5_LIBRARIES echonest5) # Use system gmock if it's available diff --git a/src/main.cpp b/src/main.cpp index 8a8879e18..7a1eb813e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,7 +76,7 @@ #include #include -#include +#include #ifdef Q_OS_DARWIN #include diff --git a/src/songinfo/echonestbiographies.cpp b/src/songinfo/echonestbiographies.cpp index ff0db2c88..b1fc20bf0 100644 --- a/src/songinfo/echonestbiographies.cpp +++ b/src/songinfo/echonestbiographies.cpp @@ -19,7 +19,7 @@ #include -#include +#include #include "songinfotextview.h" #include "core/logging.h" diff --git a/src/songinfo/echonestimages.cpp b/src/songinfo/echonestimages.cpp index 630074ba0..3b34575d6 100644 --- a/src/songinfo/echonestimages.cpp +++ b/src/songinfo/echonestimages.cpp @@ -19,7 +19,7 @@ #include -#include +#include #include "core/logging.h" diff --git a/src/songinfo/echonestsimilarartists.cpp b/src/songinfo/echonestsimilarartists.cpp index 210e6cc33..b6f391ee1 100644 --- a/src/songinfo/echonestsimilarartists.cpp +++ b/src/songinfo/echonestsimilarartists.cpp @@ -20,7 +20,7 @@ #include "core/logging.h" #include "ui/iconloader.h" -#include +#include Q_DECLARE_METATYPE(QVector); diff --git a/src/songinfo/echonesttags.cpp b/src/songinfo/echonesttags.cpp index 4a8f2c111..55e27a326 100644 --- a/src/songinfo/echonesttags.cpp +++ b/src/songinfo/echonesttags.cpp @@ -19,7 +19,7 @@ #include -#include +#include #include "tagwidget.h" #include "core/logging.h" diff --git a/src/songinfo/songkickconcerts.cpp b/src/songinfo/songkickconcerts.cpp index ce1337226..eb88d3edb 100644 --- a/src/songinfo/songkickconcerts.cpp +++ b/src/songinfo/songkickconcerts.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include #include "core/closure.h" #include "core/logging.h"