diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-01-31 15:36:51 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-02-06 12:50:26 +0100 |
| commit | d9cfec8e010b48036e5e879ccc99879538a4f7d2 (patch) | |
| tree | ef7afad8bf7d2c356997a444307da9d95dfe9f9c /sources/pyside2/tests/registry/util.py | |
| parent | 683598e0b008078cb6cc00f2b22a75b6404ccc96 (diff) | |
Fix build on Windows using Python 3.8
The DLL load behavior was changed in Python 3.8 to no longer
search the PATH variable for DLL dependencies. This means
that the shiboken2.dll from the shiboken2 package is no longer found.
Add the shiboken2 package using os.add_dll_directory() to fix this.
Unfortunately, this requires additional work during the build process,
Qt and libpyside2.dll need to be found in the build directory.
Change-Id: I3d78d8df2d6f64913e06fa44e7e1aadbc1a14b58
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/tests/registry/util.py')
0 files changed, 0 insertions, 0 deletions
