[PyQt] Help with getting sip built on Windows

Phil Thompson phil at riverbankcomputing.com
Sat Feb 9 16:05:28 GMT 2019


On 9 Feb 2019, at 4:00 pm, Neil Jansen <njansen1 at gmail.com> wrote:
> 
> Thank you, that completely answers my question.  It was a search mistake on my part, 'sip' vs ' PyQt5-sip' on pypi.org.
> 
> In case I do have to revisit the Windows build environment (maybe for pyqtdeploy later on), is there any help you can give on getting a working MSVC++ 2015 or 2017 environment setup?  Can the free MS build tools be used, or does it require the full Visual Studio?

This is from my internal documentation...

To install the MSVC2017 build tools, run
``vs_buildtools__890807581.1518104406.exe``.  Select the following:

    Visual C++ build tools
    Visual C++ ATL fro x86 and x64
    Windows 8.1 SDK and UCRT SDK
    VC++ 2015.3 v14.00 (v140) toolset for desktop

Starting with Qt v5.12, for 32 bit development use the ``x86 Native Tools
Command Prompt for VS2017``.

For earlier versions of Qt, for 32 bit development use the ``VS2015 x86 Native
Tools Command Prompt``.  Edit the properties of the shortcut to add ``8.1`` to
the target command line.

For 64 bit development use the ``x64 Native Tools Command Prompt for VS2017``.

Phil


More information about the PyQt mailing list