SXXXXXXX_PyBusMonitor1553/cpp/GrifoScope/QgPython/QgPython.pro
2025-12-17 07:59:30 +01:00

75 lines
1.9 KiB
Prolog

#-------------------------------------------------
#
# Project created by QtCreator 2019-01-10T12:04:02
#
#-------------------------------------------------
QT += widgets
TARGET = QgPythonXY
TEMPLATE = lib
#DESTDIR = E:\Prj\Python\QgPython\PQT\lib
DLLDESTDIR = $${PWD}/../../dep/dll
CONFIG(debug, debug|Release) {
DEBUG_EXT = _d
} else {
DEBUG_EXT =
}
include($$PWD/QgPythonQt.pri)
#PYTHON_VERSION=36
#PYTHONQT_VERSION=36
DEFINES += QGPY_VERSION=$${PYTHONQT_VERSION}
#Please set in the user build environment
#MYPYTHON_PATH = C:\Apps\Portable\WinPython-32bit-3.6.0.1Qt5\python-3.6.0
#MYPYTHON_LIB = C:\Apps\Portable\WinPython-32bit-3.6.0.1Qt5\python-3.6.0\libs
TARGET = $$replace(TARGET, XY, $${PYTHON_VERSION})
TARGET =$${TARGET}$${DEBUG_EXT}
DEFINES += QGPYTHON_LIBRARY
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += qgpythonlib.cpp \
Files/qgpyconsole.cpp \
Files/qgpyeditdialog.cpp \
Files/qgpython.cpp
HEADERS += qgpythonlib.h\
qgpython_global.h \
qgpythoninterface.h \
Files/qgpyconsole.h \
Files/qgpyeditdialog.h \
Files/qgpython.h
INCLUDEPATH += Files
#INCLUDEPATH += E:\Prj\Python\QgPython\PQT\inc
#INCLUDEPATH += C:\Apps\Portable\WinPython-32bit-3.6.0.1Qt5\python-3.6.0\include
unix {
target.path = /usr/lib
INSTALLS += target
}
DISTFILES += \
QgPythonQt.pri \
QgPythonQt.pri