aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/basictutorial
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-01-03 10:09:44 +0100
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-01-05 21:29:27 +0100
commit9e6e4e8d21758539b3a9c1aef763d310f91963f1 (patch)
tree18a6806a939b4f950f00339200d53e0a9f0bb159 /sources/pyside6/doc/tutorials/basictutorial
parent743b4c3ec596c0c6e2212a0f83e9990809f19367 (diff)
Fix pyside6-designer crash with pyenv on Unix
- With pyenv installed Python, we need to explicitly add the full Python library path to LD_PRELOAD(Linux) and DYLD_INSERT_LIBRARIES(macOS). Otherwise, these libraries are searched in the default search paths of ld and dyld, and it won't be able to find them. - for macOS, the python installed with pyenv won't be a framework build unless explicitly specified. Thus we use the same approach for linux by looking for the Python library inside the path in `LIBDIR`. In the case of a framework build with pyenv, 'PYTHONFRAMEWORKPREFIX' will not be empty and hence no explcit changes are required. Fixes: PYSIDE-2568 Pick-to: 6.2 6.5 6.6 Change-Id: I94815b721acb85fa0b7f28d1bbb00a49717120c3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/basictutorial')
0 files changed, 0 insertions, 0 deletions