[PyQt] Help with getting sip built on Windows

Phil Thompson phil at riverbankcomputing.com
Sun Feb 10 13:38:50 GMT 2019


On 10 Feb 2019, at 1:27 pm, Neil Jansen <njansen1 at gmail.com> wrote:
> 
> On Sun, Feb 10, 2019 at 5:02 AM Phil Thompson <phil at riverbankcomputing.com> wrote:
> >
> > It looks like a bug affecting Windows and Python v3.5 and earlier. Try the attached patch.
>  
> Thanks, that fixes the sysconfig issue.  It gets me further along in the build.  It gets down to the final step (the last nmake in the build-demo.py).  It fails with a linker error, unresolved symbols.  See the dump of the entire script at the bottom of this email.  Sorry that it's quite long, I'm running it in full verbose mode.
> 
> If I go into to the .pdy editor GUI, and check the"Use standard Python shared library" checkbox (http://pyqt.sourceforge.net/Docs/pyqtdeploy/pyqtdeploy.html#adding-standard-library-packages), it will compile, but the final executable won't run (it gives an error message that DLLs are missing (the exact error message varies, but it's "The program can't start because Qt53DCore.dll is missing from your computer.  Try installing the program to fix this problem".  But the first time it gave me that error it was complaining about another DLL, QtVisualization.dll if I recall correctly.  I don't know if this is a related problem, or a separate problem.
> 
> Can you help me understand why I'm getting the linker errors, and what I need to do to get the demo working?   Or, if there's a known-good recipe for the .PDY file that would work with what components I have?   I've attached my sysroot.json and the pyqt-demo.pdy file to the email.  Note that the only thing I've changed since my last email was the version of OpenSSL, I changed the source from version 1.1.1a to 1.0.2q because Python 3.5.1 uses 1.0.2d thru j or so.

I suggest you get the demo working without changing *anything*, then change one thing at a time until you have the setup you want.

Phil


More information about the PyQt mailing list