From b30d7bf67b017da8a555bfab3178bd37293d9c52 Mon Sep 17 00:00:00 2001 From: Ladislav Foldyna Date: Fri, 24 Nov 2023 19:46:04 +0100 Subject: [PATCH] Added PTHREAD variables for LIB and INCLUDE to pro-file. It is needed for Hamlib4.5 and later. Leave empty if system libraries should be used --- QLog.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/QLog.pro b/QLog.pro index 3c4421a2..003144a9 100644 --- a/QLog.pro +++ b/QLog.pro @@ -22,6 +22,10 @@ DEFINES += VERSION=\\\"$$VERSION\\\" #HAMLIBVERSION_MINOR = #HAMLIBVERSION_PATCH = +# Define paths to pthread - needed for Hamlib4.5 and later. Leave empty if system libraries should be used +#PTHREADINCLUDEPATH = +#PTHREADLIBPATH = + # Define paths to QTKeyChain. Leave empty if system libraries should be used #QTKEYCHAININCLUDEPATH = #QTKEYCHAINLIBPATH = @@ -357,8 +361,8 @@ isEmpty(HAMLIBVERSION_MAJOR) { } } -INCLUDEPATH += $$HAMLIBINCLUDEPATH $$QTKEYCHAININCLUDEPATH -LIBS += -L$$HAMLIBLIBPATH -L$$QTKEYCHAINLIBPATH +INCLUDEPATH += $$HAMLIBINCLUDEPATH $$QTKEYCHAININCLUDEPATH $$PTHREADINCLUDEPATH +LIBS += -L$$HAMLIBLIBPATH -L$$QTKEYCHAINLIBPATH -L$$PTHREADINCLUDEPATH unix:!macx { isEmpty(PREFIX) {