Details
-
User Story
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.3.0
-
None
Description
Currently when cross-building, the shiboken generator tells libclang to use the host sysroot for header parsing and extraction.
This needs to be configurable, likely via a command line flag to the generator or via env var to use a target sysroot.
Some adjustments might also be required to the flags passed to libclang.
A personal report was received that running shiboken fails when cross-building in the context of yocto, likely due to this issue.
Attachments
Issue Links
- relates to
-
PYSIDE-2057 shiboken2 stores compiler value at compile time
- Closed
-
PYSIDE-1810 Write documentation on how to cross-build Qt For Python
- Closed
- resulted from
-
PYSIDE-802 Enable PySide/Shiboken cross compilation for different targets.
- Closed
Gerrit Reviews
For Gerrit Dashboard: PYSIDE-1812 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
395402,2 | shiboken6: Move Vulkan detection out of the emulated compiler options | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
432700,7 | shiboken6: Add command line options for compiler, path and platform | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
432954,3 | shiboken6: Simplify project file and arguments parsing | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
433881,3 | shiboken6: Fix wrapper destructor generation detection | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |