<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/09/2018 15:54, Phil Thompson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:EFAFD35E-B9CB-4C64-BECC-0D74F9FD9420@riverbankcomputing.com">
<pre wrap="">On 12 Sep 2018, at 3:45 pm, Timothy W. Grove <a class="moz-txt-link-rfc2396E" href="mailto:tim_grove@sil.org"><tim_grove@sil.org></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Trying to build the latest PyQt5.11.2 (or PyQt5.11.3dev snapshot) and it fails on configure for me with the error:
..\qpy\QtCore\qpycore_pyqtpyobject.h(29): fatal error C1083: Cannot open include file: 'QDataStream': No such file or directory
More info below.
Best regards,
Tim
Microsoft (R) Program Maintenance Utility Version 14.15.26726.0
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\nmake.exe" -f Makefile.Release
Microsoft (R) Program Maintenance Utility Version 14.15.26726.0
Copyright (C) Microsoft Corporation. All rights reserved.
cl -BxC:\Qt\Qt-5.11.2\bin\qmake.exe -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E C:\Qt\Qt-5.11.2\mkspecs\features\data\dummy.cpp 2>NUL >release\moc_predefs.h
C:\Qt\Qt-5.11.2\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DPy_LIMITED_API=0x03040000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DNDEBUG -D_WINDLL --compiler-flavor=msvc --include C:/Users/Samuel/Downloads/PyQt5_gpl-5.11.3.dev1808131157/QtCore/release/moc_predefs.h -IC:/Qt/Qt-5.11.2/mkspecs/win32-msvc -IC:/Users/Samuel/Downloads/PyQt5_gpl-5.11.3.dev1808131157/QtCore -IC:/Users/Samuel/Downloads/PyQt5_gpl-5.11.3.dev1808131157/QtCore -IC:/Python36/include -IC:/Users/Samuel/Downloads/PyQt5_gpl-5.11.3.dev1808131157/qpy/QtCore -IC:/Qt/Qt-5.11.2/include -IC:/Qt/Qt-5.11.2/include/QtCore -I"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\ATLMFC\include" -I"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\winrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\cppwinrt" ..\qpy\QtCore\qpycore_event_handlers.h -o release\moc_qpycore_event_handlers.cpp
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DPy_LIMITED_API=0x03040000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DNDEBUG -D_WINDLL -I. -I. -IC:\Python36\include -I..\qpy\QtCore -IC:\Qt\Qt-5.11.2\include -IC:\Qt\Qt-5.11.2\include\QtCore -Irelease -IC:\Qt\Qt-5.11.2\mkspecs\win32-msvc -Forelease\ @C:\Users\Samuel\AppData\Local\Temp\nm5C87.tmp
qpycore_post_init.cpp
..\qpy\QtCore\qpycore_pyqtpyobject.h(29): fatal error C1083: Cannot open include file: 'QDataStream': No such file or directory
</pre>
</blockquote>
<pre wrap="">
That's failing on build, not configure, and suggests a problem with your Qt installation.
Phil</pre>
</blockquote>
Sorry, wrong terminology, but you are correct; there does seem to be
a problem with Qt and possibly a bug...<br>
<br>
I dug around in my Qt installation and found <b>C:\Qt\Qt-5.11.2\include\QtCore\qdatastream.h</b>,
but no corresponding <b>C:\Qt\Qt-5.11.2\include\QtCore\QDataStream</b>.
I created a file by this name containing the single line: '#include
"qdatastream.h"', although I don't know if this indicates that
QDataStream didn't get built into QtCore.<br>
<br>
Running nmake again got past this error and seemed to be doing okay
until it ran into problems later on. For your interest and any
advice, I include the output below.<br>
<br>
Best regards,<br>
Tim<br>
<br>
<br>
<font size="-1">Microsoft (R) Program Maintenance Utility Version
14.15.26726.0<br>
Copyright (C) Microsoft Corporation. All rights reserved.<br>
<br>
"C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\nmake.exe"
-f Makefile.Release<br>
<br>
Microsoft (R) Program Maintenance Utility Version 14.15.26726.0<br>
Copyright (C) Microsoft Corporation. All rights reserved.<br>
<br>
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline
-Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding
-Zc:__cplusplus -O2 -MD /wd4530 /wd4577 -W3 -w34100 -w34189
-w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE
-D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE
-DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NFC_LIB
-DQT_CORE_LIB -DNDEBUG -D_WINDLL -I. -I. -IC:\Python36\include
-IC:\Qt\Qt-5.11.2\include -IC:\Qt\Qt-5.11.2\include\QtNfc
-IC:\Qt\Qt-5.11.2\include\QtCore -Irelease
-IC:\Qt\Qt-5.11.2\mkspecs\win32-msvc -Forelease\
@C:\Users\Samuel\AppData\Local\Temp\nmB274.tmp<br>
sipQtNfcQList0100QNdefMessage.cpp<br>
sipQtNfcQList0100QNdefNfcIconRecord.cpp<br>
sipQtNfcQList0100QNdefNfcTextRecord.cpp<br>
sipQtNfcQList0100QNdefRecord.cpp<br>
sipQtNfcQNdefFilter.cpp<br>
sipQtNfcQNdefFilterRecord.cpp<br>
sipQtNfcQNdefMessage.cpp<br>
sipQtNfcQNdefNfcIconRecord.cpp<br>
sipQtNfcQNdefNfcSmartPosterRecord.cpp<br>
sipQtNfcQNdefNfcTextRecord.cpp<br>
sipQtNfcQNdefNfcUriRecord.cpp<br>
sipQtNfcQNdefRecord.cpp<br>
sipQtNfcQNearFieldManager.cpp<br>
sipQtNfcQNearFieldManagerTargetAccessModes.cpp<br>
sipQtNfcQNearFieldShareManager.cpp<br>
sipQtNfcQNearFieldShareManagerShareModes.cpp<br>
sipQtNfcQNearFieldShareTarget.cpp<br>
sipQtNfcQNearFieldTarget.cpp<br>
sipQtNfcQNearFieldTargetAccessMethods.cpp<br>
sipQtNfcQNearFieldTargetRequestId.cpp<br>
Generating Code...<br>
Compiling...<br>
sipQtNfcQQmlNdefRecord.cpp<br>
sipQtNfccmodule.cpp<br>
Generating Code...<br>
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL
/SUBSYSTEM:WINDOWS /OUT:release\QtNfc.dll
@C:\Users\Samuel\AppData\Local\Temp\nm12D5.tmp<br>
Qt5Nfc.lib(Qt5Nfc.dll) : error LNK2005: "public: __thiscall
QList<class QNdefRecord>::QList<class
QNdefRecord>(class QList<class QNdefRecord> const &)"
(??0?$QList@VQNdefRecord@@@@QAE@ABV0@@Z) already defined in
sipQtNfcQList0100QNdefRecord.obj<br>
Qt5Nfc.lib(Qt5Nfc.dll) : error LNK2005: "public: __thiscall
QList<class QNdefRecord>::~QList<class
QNdefRecord>(void)" (??1?$QList@VQNdefRecord@@@@QAE@XZ) 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\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\link.EXE"'
: return code '0x491'<br>
Stop.<br>
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft
Visual
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\nmake.exe"'
: return code '0x2'<br>
Stop.<br>
NMAKE : fatal error U1077: 'cd' : return code '0x2'<br>
Stop<br>
<br>
<br>
</font>
</body>
</html>