<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<BR> <BR>I'm using PyQt 5.5.1, Anaconda 3.5.1, Qt 5.6, Visual Studio 2015, and Windows 10. To get PyQt configure.py to work I did the following:<br>1. The script finds qmake.exe from Qt4 in Anaconda *before* it checks for the --qmake option so I hard-coded the qmake.exe path inside the script to be Qt5.<br>2. I added C:\Qt\5.6\msvc2015_64\bin to the path environment so qmake could find other programs.<br>3. I opened the VS2015 x64 command shell to run python configure.py so the x64 version of nmake and cl are used.<BR> <BR>After configure.py ran successfully, I ran nmake in the pyqt folder. After building many files, it got the fatal error below.<BR> <BR>Is there a workaround? Or some way I could continue without QtNfc.dll?<BR> <BR>        link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS /OUT:release\QtNfc.dll @C:\Users\scott\AppData\Local\Temp\nmDE66.tmp<br>Qt5Nfc.lib(Qt5Nfc.dll) : error LNK2005: "public: __cdecl QList<class QNdefRecord>::QList<class QNdefRecord>(class QList<class QNdefRecord> const &)" (<a href="mailto:??0?$QList@VQNdefRecord@@@@QEAA@AEBV0@@Z">??0?$QList@VQNdefRecord@@@@QEAA@AEBV0@@Z</a>) already defined in sipQtNfcQList0100QNdefRecord.obj<br>Qt5Nfc.lib(Qt5Nfc.dll) : error LNK2005: "public: class QList<class QNdefRecord> & __cdecl QList<class QNdefRecord>::operator=(class QList<class QNdefRecord> const &)" (<a href="mailto:??4?$QList@VQNdefRecord@@@@QEAAAEAV0@AEBV0@@Z">??4?$QList@VQNdefRecord@@@@QEAAAEAV0@AEBV0@@Z</a>) already defined in sipQtNfcQList0100QNdefRecord.obj<br>Qt5Nfc.lib(Qt5Nfc.dll) : error LNK2005: "public: class QNdefRecord const & __cdecl QList<class QNdefRecord>::at(int)const " (<a href="mailto:?at@?$QList@VQNdefRecord@@@@QEBAAEBVQNdefRecord@@H@Z">?at@?$QList@VQNdefRecord@@@@QEBAAEBVQNdefRecord@@H@Z</a>) already defined in sipQtNfcQList0100QNdefRecord.obj<br>   Creating library release\QtNfc.lib and object release\QtNfc.exp<br>release\QtNfc.dll : fatal error LNK1169: one or more multiply defined symbols found<br>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.EXE"' : return code '0x491'<br>Stop.<br>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code <BR>                                          </div></body>
</html>