[PyQt] How to not compile QtNfc?

Cody Scott cody at perspexis.com
Wed Mar 14 13:04:12 GMT 2018


Thanks Phil, I was able to build and install PyQt5!


On Tue, Mar 13, 2018 at 5:58 PM, Phil Thompson <phil at riverbankcomputing.com>
wrote:

> On 13 Mar 2018, at 9:48 pm, Cody Scott <cody at perspexis.com> wrote:
> >
> > I'm trying to compile the latest PyQt5 for Python3.4 on Windows 7 32 bit.
> >
> > I have installed Qt with the msvs2015 component. And I have installed
> Visual Studio 2015.
> >
> > In the Developer Command Prompt for VS2015 I created a virtualenv and
> installed sip.
> >
> > To install sip I ran
> >
> > "C:\Program Files\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
> > python configure.py
> > nmake
> > nmake install
> >
> > For PyQt5 I did
> >
> > python configure.py --qmake="C:\Qt\5.10.1\msvc2015\bin\qmake.exe"
> > nmake
> >
> > But it failed on QtNfc.dll
> > So I tried to disable QtNfc with by renaming
> > C:\Qt\5.10.1\msvc2015\include\QtNfc\ to C:\Qt\5.10.1\msvc2015\include\
> QtNfc-disable\
> > https://riverbankcomputing.com/pipermail/pyqt/2015-August/036222.html
> >
> > But now I am getting an error
> >
> > NMAKE : fatal error U1073: don't know how to make 'C:\Qt\5.10.1\msvc2015\
> include\QtNfc\qndefmessage.h
> >
> > So I know that wasn't the correct include folder.
> >
> > How do you disable QtNfc? or how do I figure out why it won't compile?
>
> http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#
> cmdoption-configure-py-disable
>
> I've never been able to work out the problem with QtNfc.
>
> Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180314/274cf63d/attachment.html>


More information about the PyQt mailing list