[PyQt] How to not compile QtNfc?

Cody Scott cody at perspexis.com
Tue Mar 13 21:48:08 GMT 2018


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180313/22aeb432/attachment.html>


More information about the PyQt mailing list