Skip to content

Commit

Permalink
Added PTHREAD variables for LIB and INCLUDE to pro-file.
Browse files Browse the repository at this point in the history
It is needed for Hamlib4.5 and later.
Leave empty if system libraries should be used
  • Loading branch information
foldynl committed Nov 24, 2023
1 parent 4c28671 commit b30d7bf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions QLog.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit b30d7bf

Please sign in to comment.