Updated for Python 3.6 in Homebrew on Mac

This commit is contained in:
Matthias Jung
2017-01-31 21:19:18 +01:00
parent 7cf04b47d2
commit cc8c378d0a

View File

@@ -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