mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
- bugfix: fomod installer didn't find fomod files in nested folder - bugfix: python proxy will now not even try to initialize python if python_dir contains no python. This is necessary because the python interpreter crashes the application if the path is invalid
50 lines
1.2 KiB
Prolog
50 lines
1.2 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2013-04-05T18:26:04
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
|
|
TARGET = proxyPython
|
|
TEMPLATE = lib
|
|
|
|
contains(QT_VERSION, "^5.*") {
|
|
QT += widgets
|
|
}
|
|
|
|
CONFIG += plugins
|
|
CONFIG += dll
|
|
|
|
CONFIG(release, debug|release) {
|
|
QMAKE_CXXFLAGS += /Zi
|
|
QMAKE_LFLAGS += /DEBUG
|
|
}
|
|
|
|
DEFINES += PROXYPYTHON_LIBRARY
|
|
|
|
SOURCES += proxypython.cpp
|
|
HEADERS += proxypython.h \
|
|
resource.h
|
|
|
|
OTHER_FILES += \
|
|
proxypython.json \
|
|
embedrunner.rc
|
|
|
|
RC_FILE += \
|
|
embedrunner.rc
|
|
|
|
include(../plugin_template.pri)
|
|
|
|
INCLUDEPATH += "../../pythonRunner"
|
|
|
|
WINPWD = $$PWD
|
|
WINPWD ~= s,/,$$QMAKE_DIR_SEP,g
|
|
|
|
|
|
//QMAKE_POST_LINK += SET VS90COMNTOOLS=%VS100COMNTOOLS% $$escape_expand(\\n)
|
|
|
|
|
|
QMAKE_POST_LINK += copy $$(PYTHONPATH)\\lib\\site-packages\\sip.pyd $$quote($$DSTDIR)\\plugins\\data\\ $$escape_expand(\\n)
|
|
QMAKE_POST_LINK += copy $$(PYTHONPATH)\\lib\\site-packages\\PyQt4\\QtCore.pyd $$quote($$DSTDIR)\\plugins\\data\\PyQt4\\ $$escape_expand(\\n)
|
|
QMAKE_POST_LINK += copy $$(PYTHONPATH)\\lib\\site-packages\\PyQt4\\QtGui.pyd $$quote($$DSTDIR)\\plugins\\data\\PyQt4\\ $$escape_expand(\\n)
|