Patches for sip / PyQt-builder for mingw cross-compilation of python bindings
Phil Thompson
phil at riverbankcomputing.com
Wed Sep 15 14:34:24 BST 2021
On 15/09/2021 09:44, Sandro Mani wrote:
> Hi
>
> I maintain a mingw-python3 stack for Fedora which I also use to
> cross-compile SIP bindings to Windows.
>
> Attached below are some changes I've applied to sip6/PyQt-builder (let
> me know if there is a better way to contribute these).
Can you explain why this is needed?
> @@ -467,8 +469,9 @@ macx {
> # TODO: is this still necessary for Python v3.8?
> if not buildable.static:
> pro_lines.extend(['win32 {',
> - ' LIBS += -L{}'.format(
> - self.qmake_quote(project.py_pylib_dir)),
> + ' LIBS += -L{libdir} -l{lib}'.format(
> + libdir=self.qmake_quote(project.py_pylib_dir),
> + lib=self.qmake_quote(project.py_pylib_lib)),
> '}'])
>
> # Add any installables from the buildable.
Other changes applied.
Thanks,
Phil
More information about the PyQt
mailing list