[PyQt] fatal error configuring PyQt5.11.2: Cannot open include file: 'QDataStream': No such file or directory

Timothy W. Grove tim_grove at sil.org
Wed Sep 12 15:45:28 BST 2018


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180912/bea6c8bd/attachment.html>


More information about the PyQt mailing list