[PySide] Building Pyside2 in a flatpak

Michael Hill mdhillca at gmail.com
Thu Oct 4 17:44:42 CEST 2018


For building a FreeCAD flatpak using Qt 5, Pyside2 seems to lose track of
some header files:

https://bugreports.qt.io/browse/PYSIDE-787

Alexandru has already commented on the bug.

Inside the build environment, the include directories map to /app/include
and /usr/include. As I understand it, that's "dependencies just built" for
the first, and "things provided by org.kde.Sdk" for the second. If I grep
for the missing declarations, they all appear to be present under
/usr/include.

In the (now successful) Qt 4 version of the flatpak, FreeCAD initially had
a similar error. Bastien fixed it with this patch:

https://github.com/flathub/flathub/pull/618/commits/4e459030db373342498993cfe1bc9ca0873a067e

If that's what's happening, can someone suggest where to try to patch
Pyside2 so that it doesn't lose track of /usr/include?

Thanks,

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20181004/31634074/attachment.html>


More information about the PySide mailing list