Details
Description
Project MESSAGE: Using ...//testenv59/lib/python3.5/site-packages/PySide2 (testenv59) ~/dev3/pyside-setup59/sources/pyside2-examples/examples/s59$ m qt.shiboken: (scriptableapplication) Can't find QtGui/typesystem_gui.xml, current path: ...//testenv59/lib/python3.5/site-packages/PySide2/typesystems, typesystem paths: ...//pyside-setup59/sources/pyside2-examples/examples/scriptableapplication, ...//testenv59/lib/python3.5/site-packages/PySide2/typesystems Cannot parse file: ../scriptableapplication/scriptableapplication.xmlshiboken: Error running ApiExtractor. Command line: --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero -I/data2/fkleint/qt-59/qtbase/include -I/data2/fkleint/qt-59/qtbase/include/QtCore -I/data2/fkleint/qt-59/qtbase/include/QtGui -I/data2/fkleint/qt-59/qtbase/include/QtWidgets -I...//pyside-setup59/sources/pyside2-examples/examples/scriptableapplication -T...//pyside-setup59/sources/pyside2-examples/examples/scriptableapplication -T...//testenv59/lib/python3.5/site-packages/PySide2/typesystems --output-directory=...//pyside-setup59/sources/pyside2-examples/examples/s59 ...//pyside-setup59/sources/pyside2-examples/examples/scriptableapplication/wrappedclasses.h ../scriptableapplication/scriptableapplication.xml Makefile:635: recipe for target 'AppLib/applib_module_wrapper.cpp' failed make: *** [AppLib/applib_module_wrapper.cpp] Error 1 make: *** Waiting for unfinished jobs....
"PySide2: Simplify typesystem path handling" f2063ee4737f90c5d412a9a328672fde32b033eb https://codereview.qt-project.org/#/c/210128/ changed the xml files to use the module name in load
<load-typesystem name="QtCore/typesystem_core.xml" generate="no"/>
in order to simplify the include paths. That does not work in the installed package since the .xml files are copied to a flat directory, The modules should be removed from the load statements while installing (see sources/pyside2/cmake/Macros/PySideModules.cmake:124 ).