[PySide] Building Pyside2 in a flatpak
Alexandru Croitor
alexandru.croitor at qt.io
Thu Oct 4 17:55:21 CEST 2018
Hi,
Why do you assume that "/usr/include" gets lost somehow?
In the log snippets you provided on the issue, "-I/usr/include" can clearly be found.
I assume you meant to say that "-I/app/lib" should actually be passed as well?
The include flags that are passed to libclang are queried via something like "g++ -E -x c++ - -v </dev/null".
The code is in sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
Perhaps consider attaching a fresh full new build log to the issue.
On 4. Oct 2018, at 17:44, Michael Hill <mdhillca at gmail.com<mailto:mdhillca at gmail.com>> wrote:
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
_______________________________________________
PySide mailing list
PySide at qt-project.org<mailto:PySide at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/pyside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20181004/8b72f5e9/attachment.html>
More information about the PySide
mailing list