[PyQt] PyQt5 building problems

Scener Spanish spscener84 at gmail.com
Tue Apr 5 13:05:25 BST 2016


Hi,

Recently I've just tried the current installer
PyQt5-5.5.1-gpl-Py3.4-Qt5.5.1-x64.exe on windows7 + py34. After checking
QtWebEngine is not available on this version I've decided to build myself
the latest dev snapshot PyQt5_gpl-5.6.dev1604041221.zip , so, here's the
steps i've done:

1.- Create a virtualenv of py34
2.- Copied lib folder (python34.lib) to the venv
3.- Build latest sip version (sip-4.18.dev1603301031.zip) using vs2013
4.- Moved the sip.exe into the Script folder of my venv
5.- Downloaded PyQt5_gpl-5.6.dev1604041221.zip sources & extract
6.- Open vs2013 x64 command prompt
7.- python configure.py
8.- nmake ---> will give me errors with Ntfc module
<http://screencast.com/t/mLDmMKSrwNQ2>
9.- nmake install ---> will give me errors as well
<http://screencast.com/t/xESLsL486Hh>

After that, i've seen some threads on the mailing list suggesting to rename
the QtNfc folder, so i've done that in order to avoid the above errors (ie:
renamed C:\Qt\Qt5.6.0\5.6\msvc2013_64\include\Qtnfc to
C:\Qt\Qt5.6.0\5.6\msvc2013_64\include\Qtnfc_disable) but it didn't work...

Also, worth pointing out that nmake install copied two folders:
    * D:\virtual_envs\py34\sip\PyQt5 with a bunch of .sip files
    * D:\virtual_envs\py34\Lib\site-packages\PyQt5 with a bunch of .pyd
files
But i don't see any qt tools over there nor examples, as tends to be with
the nice official installer...

So, here's my questions:

- How can i build succesfully the latest release of pyqt5-5.6.dev on
win7+py34?
- How can i create a nice installer like the one provided in pyqt website
so I don't need to wait for the next release? Otherwise, if it's to complex
build such installer, when is it gonna be available the next release?

I've gone through the whole hazzle of building 5.6 just because I need
QtWebEngine support but the process hasn't been smooth as it should.

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160405/2380436b/attachment.html>


More information about the PyQt mailing list