From 14e4adac3b1dbdb01ccb8a1f077156f5b9a59388 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 11 Jul 2014 05:18:36 +0100 Subject: [PATCH] Fix build --- source/Makefile.mk | 17 +++++++++++++++++ source/backend/engine/CarlaEngineOscSend.cpp | 1 + 2 files changed, 18 insertions(+) diff --git a/source/Makefile.mk b/source/Makefile.mk index 584f3e343..3e907d22e 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -234,6 +234,23 @@ HAVE_FLUIDSYNTH = $(shell pkg-config --exists fluidsynth && echo true) HAVE_LINUXSAMPLER = $(shell pkg-config --exists linuxsampler && echo true) endif +# -------------------------------------------------------------- +# Set Qt tools +# TODO + +ifeq ($(HAVE_QTGUI4),true) +ifeq (,$(wildcard $(MOC_QT4))) +HAVE_QTGUI4=false +endif +endif + +ifeq ($(HAVE_QTGUI5),true) +QT5_LIBDIR = $(shell pkg-config --variable=libdir Qt5Core) +ifeq (,$(wildcard $(MOC_QT5))) +HAVE_QTGUI5=false +endif +endif + # -------------------------------------------------------------- # Check for optional libs (required by internal plugins) diff --git a/source/backend/engine/CarlaEngineOscSend.cpp b/source/backend/engine/CarlaEngineOscSend.cpp index f45cca632..cf27327a1 100644 --- a/source/backend/engine/CarlaEngineOscSend.cpp +++ b/source/backend/engine/CarlaEngineOscSend.cpp @@ -15,6 +15,7 @@ * For a full copy of the GNU General Public License see the doc/GPL.txt file. */ +#include "CarlaBackendUtils.hpp" #include "CarlaEngineInternal.hpp" #include "CarlaMIDI.h"