Trance Analyser pro-file simplified

This commit is contained in:
Matthias Jung
2020-02-25 19:38:12 +01:00
parent a56b39d344
commit 4f4b88936f

View File

@@ -1,47 +1,12 @@
#-------------------------------------------------
#
# Project created by QtCreator 2013-11-26T20:21:15
#
#-------------------------------------------------
QT += core gui
QT += sql
CONFIG += no_keywords
CONFIG += python
CONFIG += link_pkgconfig
PKGCONFIG += python3
CONFIG += python
unix:!macx {
# Python library and header files
python_home = $$(PYTHON_HOME)
isEmpty(python_home) {
python_home = /opt/python/lib
}
message(Python home is $${python_home})
python_headers = $$(PYTHON_HEADERS)
isEmpty(python_headers) {
python_headers = /opt/python/include/python3.5m
}
message(Getting python headers from $${python_headers})
QMAKE_CXXFLAGS += -std=c++11
CONFIG += qwt
QMAKE_CXXFLAGS += -Xlinker -export-dynamic
QMAKE_RPATHDIR += $${libqwt_home}
message(Linker options QMAKE_RPATHDIR is $${QMAKE_RPATHDIR})
CONFIG(python){
libpython_vers = $$(LIBPYTHON_VERSION)
isEmpty(libpython_vers) {
libpython_vers = 3.5m
}
message(Lib Python version is $${libpython_vers})
LIBS += -L$${python_home} -lpython$${libpython_vers}
INCLUDEPATH += $${python_headers}
}
}
CONFIG+=qwt
macx: {
message(Building on a MAC)
@@ -60,25 +25,6 @@ macx: {
CONFIG-=app_bundle
}
# QWT library and header files
libqwt_home = $$(LIBQWT_HOME)
isEmpty(libqwt_home) {
libqwt_home = /opt/qwt/lib
}
message(LIBQWT path is $${libqwt_home})
libqwt_headers = $$(LIBQWT_HEADERS)
isEmpty(libqwt_headers) {
libqwt_headers = /opt/qwt/include
}
message(Getting LIBQWT headers from $${libqwt_headers})
CONFIG(qwt){
LIBS += -L$${libqwt_home}/ -lqwt -lutil
INCLUDEPATH += $${libqwt_headers}
}
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = traceAnalyzer