Updated for Python 3.6 in Homebrew on Mac
This commit is contained in:
@@ -17,6 +17,11 @@ unix:!macx {
|
||||
QMAKE_CXXFLAGS += -Xlinker -export-dynamic
|
||||
QMAKE_RPATHDIR += $${libqwt_home}
|
||||
message(Linker options QMAKE_RPATHDIR is $${QMAKE_RPATHDIR})
|
||||
|
||||
CONFIG(python) {
|
||||
LIBS += -L$${python_home} -lpython3.5m
|
||||
INCLUDEPATH += $${python_headers}
|
||||
}
|
||||
}
|
||||
|
||||
macx: {
|
||||
@@ -27,7 +32,7 @@ macx: {
|
||||
INCLUDEPATH += $$(LIBQWT_HEADERS)
|
||||
DEPENDPATH += $$replace(LIBQWT_HOME, lib, )
|
||||
INCLUDEPATH += $$(PYTHON_HEADERS)
|
||||
LIBS += -L$$(PYTHON_HOME) -lpython3.5
|
||||
LIBS += -L$$(PYTHON_HOME) -lpython3.6
|
||||
CONFIG-=app_bundle
|
||||
}
|
||||
|
||||
@@ -63,12 +68,6 @@ isEmpty(python_headers) {
|
||||
}
|
||||
message(Getting python headers from $${python_headers})
|
||||
|
||||
CONFIG(python) {
|
||||
LIBS += -L$${python_home} -lpython3.5m
|
||||
INCLUDEPATH += $${python_headers}
|
||||
}
|
||||
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
TARGET = traceAnalyzer
|
||||
|
||||
Reference in New Issue
Block a user