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 <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> http://lists.qt-project.org/mailman/listinfo/pyside
_______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
