[PyQt] Compile *.pyd on Windows

Phil Thompson phil at riverbankcomputing.com
Wed Jan 6 22:45:14 GMT 2016


On 6 Jan 2016, at 9:11 pm, Miguel Alejandro Fernandez <alejandrogroso at hotmail.com> wrote:
> 
> Hello list ..
> I need help with the generation of libraries to use with PyQt5 ..
> 
> I created a * .dll with Qt5.5.0 and I intend to create objects using that library.
> SIP I've created sipAPI ***. h ** sip. cpp, sip ***. cpp and MakeFile but not how to create the * .pyd because not compile with Qt as the "MakeFile".. .

The Makefile should create a .dll. Rename that to .pyd.

> I see a certain sip.h includes:
> "
> #include <sip.h>
> 
> #include <QMetaType>
> #include <QThread>
> "
> Where do I get the "sip.h" and its dependencies?
> 
> I use Windows 7, PyQt5.5.1, Python 3.4, sip 4.17
> 
> PS: I have seen the information http://pyqt.sourceforge.net/Docs/sip4

sip.h will have been installed when you installed sip.

Phil


More information about the PyQt mailing list