[PyQt] How to not compile QtNfc?
Phil Thompson
phil at riverbankcomputing.com
Tue Mar 13 21:58:32 GMT 2018
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
More information about the PyQt
mailing list