PyQt5 5.15.0 source build using Visual Studio 2015 for Python 2.7 with QT 5.15.0 is failing
Phil Thompson
phil at riverbankcomputing.com
Fri Jul 10 18:12:36 BST 2020
As far as I am aware there is no such thing as "Visual Studio 2015 for
Python 2.7". You seem to have "Microsoft Visual C++ Compiler for Python
2.7" installed which is the v9 compiler (ie. MSVC 2008). I doubt that
would work with the MSVC 2015 libraries or with the Qt v5.15 headers.
Phil
On 10/07/2020 17:11, Syed Sadiq wrote:
> Hi.
>
> We are trying to build the PyQt5 5.15.0 Source code download from
> Riverbank, using Visual Studio 2015 for Python 2.7.15. Have installed
> QT 5.15.0 full version and has the folder
> Qt\Qt5.15.0\5.15.0\msvc2015_64 respectively. But the building of
> PyQt5 5.15.0 code is failing.
> Here are the steps we followed,
> Download SIP SIP v4.19.23 and PyQt5
> (https://riverbankcomputing.com/vault/PyQt5/5.15.0/PyQt5_commercial-5.15.0.tar.gz)
> from the Riverbank Website.
>
> 1. Built the SIP, and the SIP build was successful.
> * python configure.py --platform=win32-msvc2015
> * nmake
> * nmake install
>
> 2. Building the PyQt5
> * python configure.py
> * nmake
>
> Below are the logs for reference, nmake command fails.
>
> C:\codebase\Qt5.15.0\PyQt5_commercial-5.15.0>python configure.py
> Querying qmake about your Qt installation...
> Determining the details of your Qt installation...
> This is the commercial version of PyQt 5.15.0 (licensed under the PyQt
> Commercial License) for Python 2.7.15 on win32.
>
> Type 'L' to view the license.
> Type 'yes' to accept the terms of the license.
> Type 'no' to decline the terms of the license.
>
> Do you accept the terms of the license? yes
> Found the license file pyqt-commercial.sip.
> Checking to see if the QtGui module should be built...
> Checking to see if the QtHelp module should be built...
> Checking to see if the QtMultimedia module should be built...
> Checking to see if the QtMultimediaWidgets module should be built...
> Checking to see if the QtNetwork module should be built...
> Checking to see if the QtOpenGL module should be built...
> Checking to see if the QtPrintSupport module should be built...
> Checking to see if the QtQml module should be built...
> Checking to see if the QtQuick module should be built...
> Checking to see if the QtSql module should be built...
> Checking to see if the QtSvg module should be built...
> Checking to see if the QtTest module should be built...
> Checking to see if the QtWebKit module should be built...
> Checking to see if the QtWebKitWidgets module should be built...
> Checking to see if the QtWidgets module should be built...
> Checking to see if the QtXml module should be built...
> Checking to see if the QtXmlPatterns module should be built...
> Checking to see if the QtDesigner module should be built...
> Checking to see if the QAxContainer module should be built...
> Checking to see if the QtDBus module should be built...
> Checking to see if the _QOpenGLFunctions_2_0 module should be built...
> Checking to see if the _QOpenGLFunctions_2_1 module should be built...
> Checking to see if the _QOpenGLFunctions_4_1_Core module should be
> built...
> Checking to see if the QtSensors module should be built...
> Checking to see if the QtSerialPort module should be built...
> Checking to see if the QtX11Extras module should be built...
> Checking to see if the QtBluetooth module should be built...
> Checking to see if the QtMacExtras module should be built...
> Checking to see if the QtPositioning module should be built...
> Checking to see if the QtWinExtras module should be built...
> Checking to see if the QtQuickWidgets module should be built...
> Checking to see if the QtWebSockets module should be built...
> Checking to see if the Enginio module should be built...
> Checking to see if the QtWebChannel module should be built...
> Checking to see if the QtLocation module should be built...
> Checking to see if the QtNfc module should be built...
> Checking to see if the QtNetworkAuth module should be built...
> Checking to see if the QtRemoteObjects module should be built...
> Checking to see if the QtQuick3D module should be built...
> Checking to see if the dbus support module should be built...
> DBus v1 does not seem to be installed.
> Qt v5.15.0 is being used.
> The qmake executable is
> C:\Qt\Qt5.15.0\5.15.0\msvc2015_64\bin\qmake.exe.
> Qt is built as a shared library.
> SIP 4.19.23 is being used.
> The sip executable is C:\Python27\sip.exe.
> These PyQt5 modules will be built: QtCore, QtGui, QtHelp, QtMultimedia,
> QtMultimediaWidgets, QtNetwork, QtOpenGL, QtPrintSupport, QtQml,
> QtQuick,
> QtSql, QtSvg, QtTest, QtWidgets, QtXml, QtXmlPatterns, QtDesigner,
> QAxContainer, QtDBus, _QOpenGLFunctions_2_0, _QOpenGLFunctions_2_1,
> _QOpenGLFunctions_4_1_Core, QtSensors, QtSerialPort, QtBluetooth,
> QtPositioning, QtWinExtras, QtQuickWidgets, QtWebSockets, QtWebChannel,
> QtLocation, QtNfc, QtNetworkAuth, QtRemoteObjects, QtQuick3D.
> The PyQt5 Python package will be installed in
> C:\Python27\Lib\site-packages.
> PyQt5 is being built with generated docstrings.
> The Designer plugin will be installed in
> C:/Qt/Qt5.15.0/5.15.0/msvc2015_64/plugins/designer.
> The qmlscene plugin will be installed in
> C:/Qt/Qt5.15.0/5.15.0/msvc2015_64/plugins/PyQt5.
> The PyQt5 .sip files will be installed in C:\Python27\sip\PyQt5.
> pyuic5, pyrcc5 and pylupdate5 will be installed in C:\Python27.
> The interpreter used by pyuic5 is C:\Python27\python.exe.
> Generating the C++ source for the QtCore module...
> Embedding sip flags...
> Generating the .pro file for the QtCore module...
> Generating the C++ source for the QtGui module...
> Generating the .pro file for the QtGui module...
> Generating the C++ source for the QtHelp module...
> Generating the .pro file for the QtHelp module...
> Generating the C++ source for the QtMultimedia module...
> Generating the .pro file for the QtMultimedia module...
> Generating the C++ source for the QtMultimediaWidgets module...
> Generating the .pro file for the QtMultimediaWidgets module...
> Generating the C++ source for the QtNetwork module...
> Generating the .pro file for the QtNetwork module...
> Generating the C++ source for the QtOpenGL module...
> Generating the .pro file for the QtOpenGL module...
> Generating the C++ source for the QtPrintSupport module...
> Generating the .pro file for the QtPrintSupport module...
> Generating the C++ source for the QtQml module...
> Generating the .pro file for the QtQml module...
> Generating the C++ source for the QtQuick module...
> Generating the .pro file for the QtQuick module...
> Generating the C++ source for the QtSql module...
> Generating the .pro file for the QtSql module...
> Generating the C++ source for the QtSvg module...
> Generating the .pro file for the QtSvg module...
> Generating the C++ source for the QtTest module...
> Generating the .pro file for the QtTest module...
> Generating the C++ source for the QtWidgets module...
> Generating the .pro file for the QtWidgets module...
> Generating the C++ source for the QtXml module...
> Generating the .pro file for the QtXml module...
> Generating the C++ source for the QtXmlPatterns module...
> Generating the .pro file for the QtXmlPatterns module...
> Generating the C++ source for the QtDesigner module...
> Generating the .pro file for the QtDesigner module...
> Generating the C++ source for the QAxContainer module...
> Generating the .pro file for the QAxContainer module...
> Generating the C++ source for the QtDBus module...
> Generating the .pro file for the QtDBus module...
> Generating the C++ source for the _QOpenGLFunctions_2_0 module...
> Generating the .pro file for the _QOpenGLFunctions_2_0 module...
> Generating the C++ source for the _QOpenGLFunctions_2_1 module...
> Generating the .pro file for the _QOpenGLFunctions_2_1 module...
> Generating the C++ source for the _QOpenGLFunctions_4_1_Core module...
> Generating the .pro file for the _QOpenGLFunctions_4_1_Core module...
> Generating the C++ source for the QtSensors module...
> Generating the .pro file for the QtSensors module...
> Generating the C++ source for the QtSerialPort module...
> Generating the .pro file for the QtSerialPort module...
> Generating the C++ source for the QtBluetooth module...
> Generating the .pro file for the QtBluetooth module...
> Generating the C++ source for the QtPositioning module...
> Generating the .pro file for the QtPositioning module...
> Generating the C++ source for the QtWinExtras module...
> Generating the .pro file for the QtWinExtras module...
> Generating the C++ source for the QtQuickWidgets module...
> Generating the .pro file for the QtQuickWidgets module...
> Generating the C++ source for the QtWebSockets module...
> Generating the .pro file for the QtWebSockets module...
> Generating the C++ source for the QtWebChannel module...
> Generating the .pro file for the QtWebChannel module...
> Generating the C++ source for the QtLocation module...
> Generating the .pro file for the QtLocation module...
> Generating the C++ source for the QtNfc module...
> Generating the .pro file for the QtNfc module...
> Generating the C++ source for the QtNetworkAuth module...
> Generating the .pro file for the QtNetworkAuth module...
> Generating the C++ source for the QtRemoteObjects module...
> Generating the .pro file for the QtRemoteObjects module...
> Generating the C++ source for the QtQuick3D module...
> Generating the .pro file for the QtQuick3D module...
> Generating the C++ source for the pylupdate module...
> Generating the .pro file for the pylupdate module...
> Generating the C++ source for the pyrcc module...
> Generating the .pro file for the pyrcc module...
> Generating the C++ source for the Qt module...
> Generating the .pro file for the Qt module...
> Generating the pylupdate5.bat wrapper...
> Generating the pyrcc5.bat wrapper...
> Generating the pyuic5.bat wrapper...
> Generating the Qt Designer plugin .pro file...
> Generating the qmlscene plugin .pro file...
> Re-writing
> C:\codebase\Qt5.15.0\PyQt5_commercial-5.15.0\examples\quick\tutorials\extending\chapter6-plugins\Charts\qmldir...
> Generating the top-level .pro file...
> Generating the Makefiles...
>
>
>
> C:\codebase\Qt5.15.0\PyQt5_commercial-5.15.0>nmake
>
> Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> cd QtCore\ && ( if not exist Makefile
> C:\Qt\Qt5.15.0\5.15.0\msvc2015_64\bin\qmake.exe -o Makefile
> C:\codebase\Qt5.15.0\PyQt5_commercial-5.15.0\QtCore\QtCore.pro ) &&
> "C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\bin\amd64\nmake.exe" -f Makefile
>
> Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> "C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\bin\amd64\nmake.exe" -f Makefile.Release
>
> Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> cd QtGui\ && ( if not exist Makefile
> C:\Qt\Qt5.15.0\5.15.0\msvc2015_64\bin\qmake.exe -o Makefile
> C:\codebase\Qt5.15.0\PyQt5_commercial-5.15.0\QtGui\QtGui.pro ) &&
> "C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\bin\amd64\nmake.exe" -f Makefile
>
> Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> "C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\bin\amd64\nmake.exe" -f Makefile.Release
>
> Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline
> -Zc:strictStrings -Zc:throwingNew -O2 -MD /wd4530 /wd4577 -W3 -w34100
> -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE
> -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64
> -DPy_LIMITED_API=0x03040000 -DNDEBUG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG
> -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_WINDLL -I. -I.
> -I..\..\..\..\Python27\include -I..\qpy\QtGui
> -I..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include
> -I..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui
> -I..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtANGLE
> -I..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtCore -Irelease
> -I/include
> -I..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\mkspecs\win32-msvc
> -Forelease\ @C:\Users\BLRACO~1\AppData\Local\Temp\nm7FFC.tmp
> sipQtGuiQColorConstants.cpp
> c:\users\nxa35232\appdata\local\programs\common\microsoft\visual c++
> for python\9.0\winsdk\include\sal_supp.h(57): warning C4005:
> '__useHeader': macro redefinition
> C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\include\sal.h(2866): note: see previous definition of
> '__useHeader'
> c:\users\nxa35232\appdata\local\programs\common\microsoft\visual c++
> for python\9.0\winsdk\include\specstrings_supp.h(77): warning C4005:
> '__on_failure': macro redefinition
> C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\include\sal.h(2876): note: see previous definition of
> '__on_failure'
> .\sipQtGuiQColorConstants.cpp(32): error C2039: 'Black': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(32): error C2065: 'Black': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(43): error C2039: 'Blue': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(43): error C2065: 'Blue': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(54): error C2039: 'Color0': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(54): error C2065: 'Color0': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(65): error C2039: 'Color1': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(65): error C2065: 'Color1': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(76): error C2039: 'Cyan': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(76): error C2065: 'Cyan': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(87): error C2039: 'DarkBlue': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(87): error C2065: 'DarkBlue': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(98): error C2039: 'DarkCyan': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(98): error C2065: 'DarkCyan': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(109): error C2039: 'DarkGray': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(109): error C2065: 'DarkGray':
> undeclared identifier
> .\sipQtGuiQColorConstants.cpp(120): error C2039: 'DarkGreen': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(120): error C2065: 'DarkGreen':
> undeclared identifier
> .\sipQtGuiQColorConstants.cpp(131): error C2039: 'DarkMagenta': is not
> a member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(131): error C2065: 'DarkMagenta':
> undeclared identifier
> .\sipQtGuiQColorConstants.cpp(142): error C2039: 'DarkRed': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(142): error C2065: 'DarkRed': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(153): error C2039: 'DarkYellow': is not
> a member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(153): error C2065: 'DarkYellow':
> undeclared identifier
> .\sipQtGuiQColorConstants.cpp(164): error C2039: 'Gray': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(164): error C2065: 'Gray': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(175): error C2039: 'Green': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(175): error C2065: 'Green': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(186): error C2039: 'LightGray': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(186): error C2065: 'LightGray':
> undeclared identifier
> .\sipQtGuiQColorConstants.cpp(197): error C2039: 'Magenta': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(197): error C2065: 'Magenta': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(208): error C2039: 'Red': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(208): error C2065: 'Red': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(219): error C2039: 'Transparent': is not
> a member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(219): error C2065: 'Transparent':
> undeclared identifier
> .\sipQtGuiQColorConstants.cpp(230): error C2039: 'White': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(230): error C2065: 'White': undeclared
> identifier
> .\sipQtGuiQColorConstants.cpp(241): error C2039: 'Yellow': is not a
> member of 'QColorConstants'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(336):
> note: see declaration of 'QColorConstants'
> .\sipQtGuiQColorConstants.cpp(241): error C2065: 'Yellow': undeclared
> identifier
> sipQtGuiQColorConstantsSvg.cpp
> c:\users\nxa35232\appdata\local\programs\common\microsoft\visual c++
> for python\9.0\winsdk\include\sal_supp.h(57): warning C4005:
> '__useHeader': macro redefinition
> C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\include\sal.h(2866): note: see previous definition of
> '__useHeader'
> c:\users\nxa35232\appdata\local\programs\common\microsoft\visual c++
> for python\9.0\winsdk\include\specstrings_supp.h(77): warning C4005:
> '__on_failure': macro redefinition
> C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\include\sal.h(2876): note: see previous definition of
> '__on_failure'
> .\sipQtGuiQColorConstantsSvg.cpp(34): error C2039: 'aliceblue': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(34): error C2065: 'aliceblue':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(45): error C2039: 'antiquewhite': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(45): error C2065: 'antiquewhite':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(56): error C2039: 'aqua': is not a
> member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(56): error C2065: 'aqua': undeclared
> identifier
> .\sipQtGuiQColorConstantsSvg.cpp(67): error C2039: 'aquamarine': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(67): error C2065: 'aquamarine':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(78): error C2039: 'azure': is not a
> member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(78): error C2065: 'azure': undeclared
> identifier
> .\sipQtGuiQColorConstantsSvg.cpp(89): error C2039: 'beige': is not a
> member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(89): error C2065: 'beige': undeclared
> identifier
> .\sipQtGuiQColorConstantsSvg.cpp(100): error C2039: 'bisque': is not a
> member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(100): error C2065: 'bisque':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(111): error C2039: 'black': is not a
> member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(111): error C2065: 'black':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(122): error C2039: 'blanchedalmond':
> is not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(122): error C2065: 'blanchedalmond':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(133): error C2039: 'blue': is not a
> member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(133): error C2065: 'blue': undeclared
> identifier
> .\sipQtGuiQColorConstantsSvg.cpp(144): error C2039: 'blueviolet': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(144): error C2065: 'blueviolet':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(155): error C2039: 'brown': is not a
> member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(155): error C2065: 'brown':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(166): error C2039: 'burlywood': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(166): error C2065: 'burlywood':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(177): error C2039: 'cadetblue': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(177): error C2065: 'cadetblue':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(188): error C2039: 'chartreuse': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(188): error C2065: 'chartreuse':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(199): error C2039: 'chocolate': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(199): error C2065: 'chocolate':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(210): error C2039: 'coral': is not a
> member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(210): error C2065: 'coral':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(221): error C2039: 'cornflowerblue':
> is not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(221): error C2065: 'cornflowerblue':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(232): error C2039: 'cornsilk': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(232): error C2065: 'cornsilk':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(243): error C2039: 'crimson': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(243): error C2065: 'crimson':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(254): error C2039: 'cyan': is not a
> member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(254): error C2065: 'cyan': undeclared
> identifier
> .\sipQtGuiQColorConstantsSvg.cpp(265): error C2039: 'darkblue': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(265): error C2065: 'darkblue':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(276): error C2039: 'darkcyan': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(276): error C2065: 'darkcyan':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(287): error C2039: 'darkgoldenrod':
> is not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(287): error C2065: 'darkgoldenrod':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(298): error C2039: 'darkgray': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(298): error C2065: 'darkgray':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(309): error C2039: 'darkgreen': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(309): error C2065: 'darkgreen':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(320): error C2039: 'darkgrey': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(320): error C2065: 'darkgrey':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(331): error C2039: 'darkkhaki': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(331): error C2065: 'darkkhaki':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(342): error C2039: 'darkmagenta': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(342): error C2065: 'darkmagenta':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(353): error C2039: 'darkolivegreen':
> is not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(353): error C2065: 'darkolivegreen':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(364): error C2039: 'darkorange': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(364): error C2065: 'darkorange':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(375): error C2039: 'darkorchid': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(375): error C2065: 'darkorchid':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(386): error C2039: 'darkred': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(386): error C2065: 'darkred':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(397): error C2039: 'darksalmon': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(397): error C2065: 'darksalmon':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(408): error C2039: 'darkseagreen': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(408): error C2065: 'darkseagreen':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(419): error C2039: 'darkslateblue':
> is not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(419): error C2065: 'darkslateblue':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(430): error C2039: 'darkslategray':
> is not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(430): error C2065: 'darkslategray':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(441): error C2039: 'darkslategrey':
> is not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(441): error C2065: 'darkslategrey':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(452): error C2039: 'darkturquoise':
> is not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(452): error C2065: 'darkturquoise':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(463): error C2039: 'darkviolet': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(463): error C2065: 'darkviolet':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(474): error C2039: 'deeppink': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(474): error C2065: 'deeppink':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(485): error C2039: 'deepskyblue': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(485): error C2065: 'deepskyblue':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(496): error C2039: 'dimgray': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(496): error C2065: 'dimgray':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(507): error C2039: 'dimgrey': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(507): error C2065: 'dimgrey':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(518): error C2039: 'dodgerblue': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(518): error C2065: 'dodgerblue':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(529): error C2039: 'firebrick': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(529): error C2065: 'firebrick':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(540): error C2039: 'floralwhite': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(540): error C2065: 'floralwhite':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(551): error C2039: 'forestgreen': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(551): error C2065: 'forestgreen':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(562): error C2039: 'fuchsia': is not
> a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(562): error C2065: 'fuchsia':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(573): error C2039: 'gainsboro': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(573): error C2065: 'gainsboro':
> undeclared identifier
> .\sipQtGuiQColorConstantsSvg.cpp(584): error C2039: 'ghostwhite': is
> not a member of 'QColorConstants::Svg'
> ..\..\..\..\Qt\Qt5.15.0\5.15.0\msvc2015_64\include\QtGui\qcolor.h(338):
> note: see declaration of 'QColorConstants::Svg'
> .\sipQtGuiQColorConstantsSvg.cpp(584): fatal error C1003: error count
> exceeds 100; stopping compilation
> Generating Code...
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 14.0\VC\bin\amd64\cl.EXE"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 14.0\VC\bin\amd64\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
>
> Please help us in solving the issue.
>
> Regards,
> Syed Sadiq A
More information about the PyQt
mailing list