From 3d64a3f250ee61ea03595f84a009da8c82ed7c1d Mon Sep 17 00:00:00 2001 From: "Iain R. Learmonth" Date: Sun, 18 Oct 2015 20:06:46 +0100 Subject: Get Qt include path from pkg-config --- debian/patches/0004-inherit-cflags-fflags.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/patches/0004-inherit-cflags-fflags.patch b/debian/patches/0004-inherit-cflags-fflags.patch index 4b4ad220..47514558 100644 --- a/debian/patches/0004-inherit-cflags-fflags.patch +++ b/debian/patches/0004-inherit-cflags-fflags.patch @@ -4,6 +4,15 @@ Last-Update: 2015-10-18 --- a/lib/Makefile.linux +++ b/lib/Makefile.linux +@@ -1,7 +1,7 @@ + # Set paths + EXE_DIR = ../wsjtx_install + QT_DIR = /usr/include/qt5 +-INCPATH = -I${QT_DIR} -I${QT_DIR}/QtCore ++INCPATH = `pkg-config --cflags Qt5Core` + + CC = gcc + CXX = g++ @@ -12,8 +12,8 @@ RANLIB = ranlib RM = rm -f -- cgit v1.2.3