diff --git a/PythonQt.pro b/PythonQt.pro --- a/PythonQt.pro +++ b/PythonQt.pro @@ -1,7 +1,7 @@ TEMPLATE = subdirs CONFIG += ordered -SUBDIRS = src extensions tests examples +SUBDIRS = src extensions #tests examples #contains(QT_MAJOR_VERSION, 5) { #SUBDIRS += generator_50 diff --git a/src/src.pro b/src/src.pro --- a/src/src.pro +++ b/src/src.pro @@ -34,3 +34,30 @@ 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 +