src.pro
52 lines
| 1.1 KiB
| text/idl
|
PrologLexer
/ src / src.pro
r0 | # --------- PythonQt profile ------------------- | |||
# Last changed by $Author: florian $ | ||||
# $Id: PythonQt.pro 35381 2006-03-16 13:05:52Z florian $ | ||||
# $Source$ | ||||
# -------------------------------------------------- | ||||
TARGET = PythonQt | ||||
TEMPLATE = lib | ||||
DESTDIR = ../lib | ||||
CONFIG += qt dll | ||||
CONFIG -= flat | ||||
contains(QT_MAJOR_VERSION, 5) { | ||||
QT += widgets | ||||
} | ||||
mac { | ||||
OTHER_FILES += ../scripts/osx-fix-dylib.sh | ||||
} | ||||
include ( ../build/common.prf ) | ||||
include ( ../build/python.prf ) | ||||
include ( src.pri ) | ||||
#added by Aje for install QT dirs. | ||||
#Copyed from Qscintilla config ;). | ||||
pythoncfg.path = $$[QT_INSTALL_PREFIX]/mkspecs/features | ||||
pythoncfg.files = ../build/pythonqt.prf | ||||
target.path = $$[QT_INSTALL_LIBS] | ||||
isEmpty(target.path) { | ||||
target.path = $(QTDIR)/lib | ||||
} | ||||
header.path = $$[QT_INSTALL_HEADERS]/PythonQt | ||||
header.files = *.h | ||||
isEmpty(header.path) { | ||||
header.path = $(QTDIR)/include/PythonQt | ||||
header.files = *.h | ||||
} | ||||
guiheader.path = $$[QT_INSTALL_HEADERS]/PythonQt/gui | ||||
guiheader.files = gui/*.h | ||||
isEmpty(guiheader.path) { | ||||
guiheader.path = $(QTDIR)/include/PythonQt/gui | ||||
guiheader.files = gui/*.h | ||||
} | ||||
INSTALLS += header target guiheader pythoncfg | ||||