File PythonQt-add-install-target.patch of Package PythonQt

From: Luigi Baldoni <aloisio@gmx.com>
Date: 2018-03-03 07:45:00 +0100
Subject: Support make install

The qmake script builds but doesn't actually
install files.

diff -uNr PythonQt3.2.orig/extensions/PythonQt_QtAll/PythonQt_QtAll.pro PythonQt3.2/extensions/PythonQt_QtAll/PythonQt_QtAll.pro
--- PythonQt3.2.orig/extensions/PythonQt_QtAll/PythonQt_QtAll.pro	2017-06-06 09:26:08.000000000 +0200
+++ PythonQt3.2/extensions/PythonQt_QtAll/PythonQt_QtAll.pro	2017-06-08 08:36:47.640909008 +0200
@@ -42,3 +42,6 @@
   DEFINES += PYTHONQT_WITH_WEBKIT
   include ($$PYTHONQT_GENERATED_PATH/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri)
 }
+
+target.path = $${LIB_INSTALL}
+INSTALLS += target
diff -uNr PythonQt3.2.orig/PythonQt.pro PythonQt3.2/PythonQt.pro
--- PythonQt3.2.orig/PythonQt.pro	2009-04-09 11:32:54.000000000 +0200
+++ PythonQt3.2/PythonQt.pro	2017-06-08 08:37:17.042002297 +0200
@@ -2,3 +2,7 @@
 
 CONFIG += ordered
 SUBDIRS = generator src extensions tests examples
+
+header.path = $${HEADER_INSTALL}
+header.files = src/*.h extensions/PythonQt_QtAll/*.h
+INSTALLS += header
diff -uNr PythonQt3.2.orig/src/src.pro PythonQt3.2/src/src.pro
--- PythonQt3.2.orig/src/src.pro	2017-06-06 09:26:08.000000000 +0200
+++ PythonQt3.2/src/src.pro	2017-06-08 08:37:41.769080755 +0200
@@ -41,3 +41,6 @@
 
 include($${PYTHONQT_GENERATED_PATH}/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri)
 include($${PYTHONQT_GENERATED_PATH}/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri)
+
+target.path = $${LIB_INSTALL}
+INSTALLS += target
openSUSE Build Service is sponsored by