[PyQt] Building sip for x64 on windows

Patrick Stinson patrickkidd at gmail.com
Thu Apr 23 09:45:47 BST 2020


I am attempting to build qt-5.14.2, python-3.6.4, sip-4.19.19, and PyQt5-13.1 on Windows.

I built qt and python for x64, but sip only seems to want to build for x32 as shown in the following linker output. The only references to the token “arch” in configure.py are for Darwin. How can I configure sip to build for x64?

Thanks!
-Patrick

-----------------------------------------------------

Microsoft (R) Program Maintenance Utility Version 14.16.27034.0
Copyright (C) Microsoft Corporation.  All rights reserved.

        link /NOLOGO /DYNAMICBASE /NXCOMPAT /DLL /MANIFEST /MANIFESTFILE:sip.pyd.manifest /SUBSYSTEM:CONSOLE /INCREMENTAL:NO /OUT:sip.pyd @C:\Users\patrick\AppData\Local\Temp\nm7852.tmp
python36.lib(python36.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'


More information about the PyQt mailing list