[PyQt] Problems building PyQt with Python 3.8.1 on Windows

Boudewijn Rempt boudewijnrempt at gmail.com
Tue Feb 4 10:48:42 GMT 2020


Hi,

I embed Python and PyQt in my C++ application, Krita. Since I updated the
version of Python from 3.6 to 3.8.1, PyQt doesn't get built correctly
anymore. My version of Qt is 5.12.5 and I build Qt myself because it needs
a lot of patching. The whole build system for the dependencies is setup
using cmake external projects. I build using mingw 7.3.

I build sip 4.19.21 with the following options ($PREFIX_ext_sip points to
c:\dev\i_deps, the place where I install all dependencies when building):

        --platform win32-g++
        -b ${PREFIX_ext_sip}/bin
        -d ${PREFIX_ext_sip}/lib/krita-python-libs
        -e ${PREFIX_ext_sip}/include
        --sipdir ${PREFIX_ext_sip}/share/sip
        --target-py-version 3.8
        --sip-module PyQt5.sip

I build PyQt 5.13.2 with the following options ($PREFIX_ext_pyqt also
points to c:\dev\i_deps) :

        --confirm-license
        --target-py-version 3.8
        --bindir ${PREFIX_ext_pyqt}/bin
        --qt ${PREFIX_ext_pyqt}
        --qmake ${PREFIX_ext_pyqt}/bin/qmake.exe
        --sip ${PREFIX_ext_pyqt}/bin/sip.exe
        --sip-incdir ${PREFIX_ext_pyqt}/include
        --spec win32-g++
        --verbose
        --sipdir ${PREFIX_ext_pyqt}/share/sip
        --destdir ${PREFIX_ext_pyqt}/lib/krita-python-libs
        --stubsdir ${PREFIX_ext_pyqt}/lib/krita-python-libs/PyQt5
        --no-qml-plugin --no-python-dbus --no-qsci-api --no-tools
        --disable QtSql --disable QtTest --disable QtWinExtras --disable
QtHelp
        --qmake ${PREFIX_ext_pyqt}/bin/qmake.exe

I tried adding

        --assume-shared
        --link-full-dll

But that doesn't make a difference.

When I add the installation location of PyQt5 to PYTHONPATH and the
location of the Qt dll's to PATH, and start Python manually and try to
import PyQt5, PyQt5.Qt or PyQt5.sip, python doesn't complain. If I try to
import any of the other modules, like QtCore or QtGui, python says it
cannot find the module:

c:\dev\krita>python
Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt5
>>> import PyQt5.Qt
>>> import PyQt5.QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed while importing QtCore: The specified module
could not be found.

However, the PyQt5 folder does contain all pyd and pyi files:

c:\dev\b\ext_pyqt>explorer c:\dev\i_deps\bin

c:\dev\b\ext_pyqt>dir c:\dev\i_deps\lib\krita-python-libs\PyQt5
 Volume in drive C is Windows
 Volume Serial Number is D4C3-2B56

 Directory of c:\dev\i_deps\lib\krita-python-libs\PyQt5

02/04/2020  10:08 AM    <DIR>          .
02/04/2020  10:08 AM    <DIR>          ..
02/04/2020  10:08 AM            15,872 Qt.pyd
02/04/2020  09:58 AM         3,244,544 QtCore.pyd
02/04/2020  09:55 AM           399,711 QtCore.pyi
02/04/2020  10:02 AM         3,274,240 QtGui.pyd
02/04/2020  09:55 AM           404,714 QtGui.pyi
02/04/2020  10:02 AM           735,232 QtMultimedia.pyd
02/04/2020  09:55 AM            86,315 QtMultimedia.pyi
02/04/2020  10:03 AM           154,624 QtMultimediaWidgets.pyd
02/04/2020  09:55 AM             4,672 QtMultimediaWidgets.pyi
02/04/2020  10:03 AM           935,936 QtNetwork.pyd
02/04/2020  09:55 AM           101,531 QtNetwork.pyi
02/04/2020  10:03 AM           158,208 QtOpenGL.pyd
02/04/2020  09:56 AM            15,984 QtOpenGL.pyi
02/04/2020  10:03 AM           340,992 QtPrintSupport.pyd
02/04/2020  09:56 AM            20,347 QtPrintSupport.pyi
02/04/2020  10:04 AM           808,448 QtQml.pyd
02/04/2020  09:56 AM            28,079 QtQml.pyi
02/04/2020  10:05 AM         1,534,976 QtQuick.pyd
02/04/2020  09:56 AM            63,260 QtQuick.pyi
02/04/2020  10:08 AM            75,776 QtQuickWidgets.pyd
02/04/2020  09:56 AM             4,790 QtQuickWidgets.pyi
02/04/2020  10:05 AM           140,800 QtSvg.pyd
02/04/2020  09:56 AM             6,053 QtSvg.pyi
02/04/2020  10:07 AM         6,849,024 QtWidgets.pyd
02/04/2020  09:56 AM           513,480 QtWidgets.pyi
02/04/2020  10:08 AM           293,376 QtXml.pyd
02/04/2020  09:56 AM            28,207 QtXml.pyi
02/03/2020  12:20 PM           116,736 sip.pyd
03/19/2019  02:25 PM             2,801 sip.pyi
02/04/2020  10:08 AM    <DIR>          uic
02/04/2020  10:08 AM           260,608 _QOpenGLFunctions_2_0.pyd
02/04/2020  10:08 AM           262,144 _QOpenGLFunctions_2_1.pyd
02/04/2020  10:08 AM           139,264 _QOpenGLFunctions_4_1_Core.pyd
03/19/2019  02:43 PM               826 __init__.py
02/04/2020  10:09 AM    <DIR>          __pycache__
              33 File(s)     21,021,570 bytes
               4 Dir(s)  65,477,173,248 bytes free

I'm not sure what's going -- the way I build PyQt hasn't changed for ages
and it used to work...

This is the build log:

c:\dev\b>mingw32-make ext_pyqt
Scanning dependencies of target ext_pyqt
[  0%] Creating directories for 'ext_pyqt'
[ 50%] Performing download step (download, verify and extract) for
'ext_pyqt'
-- verifying file...
       file='c:/dev/d//PyQt5-5.13.2.zip'
-- File already exists and hash match (skip download):
  file='c:/dev/d//PyQt5-5.13.2.zip'
  MD5='0963d8ffae19b9953271a6790361539d'
-- extracting...
     src='C:/dev/d/PyQt5-5.13.2.zip'
     dst='C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 50%] Performing patch step for 'ext_pyqt'
patching file configure.py
Hunk #1 succeeded at 996 with fuzz 1 (offset 31 lines).
Hunk #2 succeeded at 2144 (offset 167 lines).
[ 50%] No update step for 'ext_pyqt'
[ 50%] Performing configure step for 'ext_pyqt'
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtCore.mk cfgtest_QtCore.pro
Info: creating stash file
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\.qmake.stash
mingw32-make -f cfgtest_QtCore.mk CXXFLAGS=-D_hypot=hypot release
release\cfgtest_QtCore.exe cfgtest_QtCore.out
This is the GPL version of PyQt 5.13.2 (licensed under the GNU General
Public
License) for Python 3.8.1 on win32.
Found the license file pyqt-gpl.sip.

Checking to see if the QtGui module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtGui.mk cfgtest_QtGui.pro
mingw32-make -f cfgtest_QtGui.mk CXXFLAGS=-D_hypot=hypot release
release\cfgtest_QtGui.exe cfgtest_QtGui.out

Checking to see if the QtMultimedia module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtMultimedia.mk
cfgtest_QtMultimedia.pro
mingw32-make -f cfgtest_QtMultimedia.mk CXXFLAGS=-D_hypot=hypot release

Checking to see if the QtMultimediaWidgets module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtMultimediaWidgets.mk
cfgtest_QtMultimediaWidgets.pro
mingw32-make -f cfgtest_QtMultimediaWidgets.mk CXXFLAGS=-D_hypot=hypot
release

Checking to see if the QtNetwork module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtNetwork.mk cfgtest_QtNetwork.pro
mingw32-make -f cfgtest_QtNetwork.mk CXXFLAGS=-D_hypot=hypot release
release\cfgtest_QtNetwork.exe cfgtest_QtNetwork.out

Checking to see if the QtOpenGL module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtOpenGL.mk cfgtest_QtOpenGL.pro
mingw32-make -f cfgtest_QtOpenGL.mk CXXFLAGS=-D_hypot=hypot release

Checking to see if the QtPrintSupport module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtPrintSupport.mk
cfgtest_QtPrintSupport.pro
mingw32-make -f cfgtest_QtPrintSupport.mk CXXFLAGS=-D_hypot=hypot release
release\cfgtest_QtPrintSupport.exe cfgtest_QtPrintSupport.out

Checking to see if the QtQml module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtQml.mk cfgtest_QtQml.pro
mingw32-make -f cfgtest_QtQml.mk CXXFLAGS=-D_hypot=hypot release

Checking to see if the QtQuick module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtQuick.mk cfgtest_QtQuick.pro
mingw32-make -f cfgtest_QtQuick.mk CXXFLAGS=-D_hypot=hypot release

Checking to see if the QtSvg module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtSvg.mk cfgtest_QtSvg.pro
mingw32-make -f cfgtest_QtSvg.mk CXXFLAGS=-D_hypot=hypot release

Checking to see if the QtWebKit module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtWebKit.mk cfgtest_QtWebKit.pro
Project ERROR: Unknown module(s) in QT: webkit

Checking to see if the QtWebKitWidgets module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtWebKitWidgets.mk
cfgtest_QtWebKitWidgets.pro
Project ERROR: Unknown module(s) in QT: webkitwidgets

Checking to see if the QtWidgets module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtWidgets.mk cfgtest_QtWidgets.pro
mingw32-make -f cfgtest_QtWidgets.mk CXXFLAGS=-D_hypot=hypot release

Checking to see if the QtXml module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtXml.mk cfgtest_QtXml.pro
mingw32-make -f cfgtest_QtXml.mk CXXFLAGS=-D_hypot=hypot release

Checking to see if the QtXmlPatterns module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtXmlPatterns.mk
cfgtest_QtXmlPatterns.pro
Project ERROR: Unknown module(s) in QT: xmlpatterns

Checking to see if the QtDesigner module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtDesigner.mk cfgtest_QtDesigner.pro
Project ERROR: Unknown module(s) in QT: designer

Checking to see if the QAxContainer module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QAxContainer.mk
cfgtest_QAxContainer.pro
Project ERROR: Unknown module(s) in QT: axcontainer

Checking to see if the QtDBus module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtDBus.mk cfgtest_QtDBus.pro
Project ERROR: Unknown module(s) in QT: dbus

Checking to see if the _QOpenGLFunctions_2_0 module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest__QOpenGLFunctions_2_0.mk
cfgtest__QOpenGLFunctions_2_0.pro
mingw32-make -f cfgtest__QOpenGLFunctions_2_0.mk CXXFLAGS=-D_hypot=hypot
release

Checking to see if the _QOpenGLFunctions_2_1 module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest__QOpenGLFunctions_2_1.mk
cfgtest__QOpenGLFunctions_2_1.pro
mingw32-make -f cfgtest__QOpenGLFunctions_2_1.mk CXXFLAGS=-D_hypot=hypot
release

Checking to see if the _QOpenGLFunctions_4_1_Core module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest__QOpenGLFunctions_4_1_Core.mk
cfgtest__QOpenGLFunctions_4_1_Core.pro
mingw32-make -f cfgtest__QOpenGLFunctions_4_1_Core.mk
CXXFLAGS=-D_hypot=hypot release

Checking to see if the QtSensors module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtSensors.mk cfgtest_QtSensors.pro
Project ERROR: Unknown module(s) in QT: sensors

Checking to see if the QtSerialPort module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtSerialPort.mk
cfgtest_QtSerialPort.pro
Project ERROR: Unknown module(s) in QT: serialport

Checking to see if the QtX11Extras module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtX11Extras.mk
cfgtest_QtX11Extras.pro
Project ERROR: Unknown module(s) in QT: x11extras

Checking to see if the QtBluetooth module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtBluetooth.mk
cfgtest_QtBluetooth.pro
Project ERROR: Unknown module(s) in QT: bluetooth

Checking to see if the QtMacExtras module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtMacExtras.mk
cfgtest_QtMacExtras.pro
Project ERROR: Unknown module(s) in QT: macextras

Checking to see if the QtPositioning module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtPositioning.mk
cfgtest_QtPositioning.pro
Project ERROR: Unknown module(s) in QT: positioning

Checking to see if the QtQuickWidgets module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtQuickWidgets.mk
cfgtest_QtQuickWidgets.pro
mingw32-make -f cfgtest_QtQuickWidgets.mk CXXFLAGS=-D_hypot=hypot release

Checking to see if the QtWebSockets module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtWebSockets.mk
cfgtest_QtWebSockets.pro
Project ERROR: Unknown module(s) in QT: websockets

Checking to see if the Enginio module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_Enginio.mk cfgtest_Enginio.pro
Project ERROR: Unknown module(s) in QT: enginio

Checking to see if the QtWebChannel module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtWebChannel.mk
cfgtest_QtWebChannel.pro
Project ERROR: Unknown module(s) in QT: webchannel

Checking to see if the QtLocation module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtLocation.mk cfgtest_QtLocation.pro
Project ERROR: Unknown module(s) in QT: location

Checking to see if the QtNfc module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtNfc.mk cfgtest_QtNfc.pro
Project ERROR: Unknown module(s) in QT: nfc

Checking to see if the QtNetworkAuth module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtNetworkAuth.mk
cfgtest_QtNetworkAuth.pro
Project ERROR: Unknown module(s) in QT: networkauth

Checking to see if the QtRemoteObjects module should be built...
c:\dev\i_deps\bin\qmake.exe -o cfgtest_QtRemoteObjects.mk
cfgtest_QtRemoteObjects.pro
Project ERROR: Unknown module(s) in QT: remoteobjects
Qt v5.12.5 is being used.
The qmake executable is c:\dev\i_deps\bin\qmake.exe.
Qt is built as a shared library.
SIP 4.19.21 is being used.
The sip executable is c:\dev\i_deps\bin\sip.exe.
These PyQt5 modules will be built: QtCore, QtGui, QtMultimedia,
QtMultimediaWidgets, QtNetwork, QtOpenGL, QtPrintSupport, QtQml, QtQuick,
QtSvg, QtWidgets, QtXml, _QOpenGLFunctions_2_0, _QOpenGLFunctions_2_1,
_QOpenGLFunctions_4_1_Core, QtQuickWidgets.
The PyQt5 Python package will be installed in
c:\dev\i_deps\lib\krita-python-libs.
PyQt5 is being built with generated docstrings.
The Designer plugin will be installed in c:/dev/i_deps/plugins/designer.
The qmlscene plugin will not be built.
The PyQt5 PEP 484 stub files will be installed in
c:\dev\i_deps\lib\krita-python-libs\PyQt5.
The PyQt5 .sip files will be installed in c:\dev\i_deps\share\sip.
pyuic5, pyrcc5 and pylupdate5 will not be built.
Generating the C++ source for the QtCore module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtCore.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtCore -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtCore/QtCoremod.sip
Embedding sip flags...

Generating the .pro file for the QtCore module...
Generating the C++ source for the QtGui module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtGui.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtGui -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtGui/QtGuimod.sip

Generating the .pro file for the QtGui module...
Generating the C++ source for the QtMultimedia module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtMultimedia.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtMultimedia -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtMultimedia/QtMultimediamod.sip

Generating the .pro file for the QtMultimedia module...
Generating the C++ source for the QtMultimediaWidgets module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtMultimediaWidgets.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtMultimediaWidgets -I sip
-I C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtMultimediaWidgets/QtMultimediaWidgetsmod.sip

Generating the .pro file for the QtMultimediaWidgets module...
Generating the C++ source for the QtNetwork module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtNetwork.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtNetwork -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtNetwork/QtNetworkmod.sip

Generating the .pro file for the QtNetwork module...
Generating the C++ source for the QtOpenGL module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtOpenGL.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtOpenGL -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtOpenGL/QtOpenGLmod.sip

Generating the .pro file for the QtOpenGL module...
Generating the C++ source for the QtPrintSupport module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtPrintSupport.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtPrintSupport -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtPrintSupport/QtPrintSupportmod.sip

Generating the .pro file for the QtPrintSupport module...
Generating the C++ source for the QtQml module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtQml.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtQml -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtQml/QtQmlmod.sip

Generating the .pro file for the QtQml module...
Generating the C++ source for the QtQuick module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtQuick.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtQuick -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtQuick/QtQuickmod.sip

Generating the .pro file for the QtQuick module...
Generating the C++ source for the QtSvg module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtSvg.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtSvg -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtSvg/QtSvgmod.sip

Generating the .pro file for the QtSvg module...
Generating the C++ source for the QtWidgets module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtWidgets.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtWidgets -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtWidgets/QtWidgetsmod.sip

Generating the .pro file for the QtWidgets module...
Generating the C++ source for the QtXml module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtXml.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtXml -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtXml/QtXmlmod.sip

Generating the .pro file for the QtXml module...
Generating the C++ source for the _QOpenGLFunctions_2_0 module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\_QOpenGLFunctions_2_0 -I sip
-I C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/_QOpenGLFunctions_2_0/_QOpenGLFunctions_2_0mod.sip

Generating the .pro file for the _QOpenGLFunctions_2_0 module...
Generating the C++ source for the _QOpenGLFunctions_2_1 module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\_QOpenGLFunctions_2_1 -I sip
-I C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/_QOpenGLFunctions_2_1/_QOpenGLFunctions_2_1mod.sip

Generating the .pro file for the _QOpenGLFunctions_2_1 module...
Generating the C++ source for the _QOpenGLFunctions_4_1_Core module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\_QOpenGLFunctions_4_1_Core
-I sip -I C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/_QOpenGLFunctions_4_1_Core/_QOpenGLFunctions_4_1_Coremod.sip

Generating the .pro file for the _QOpenGLFunctions_4_1_Core module...
Generating the C++ source for the QtQuickWidgets module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -o -y QtQuickWidgets.pyi -c
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtQuickWidgets -I sip -I
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtQuickWidgets/QtQuickWidgetsmod.sip

Generating the .pro file for the QtQuickWidgets module...
Generating the C++ source for the Qt module...
c:\dev\i_deps\bin\sip.exe -w -n PyQt5.sip -t WS_WIN -t Qt_5_12_4 -x
PyQt_WebChannel -f -c C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\Qt -I
sip -I C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip sip/Qt/Qtmod.sip

Generating the .pro file for the Qt module...
Generating the top-level .pro file...
Generating the Makefiles...
c:\dev\i_deps\bin\qmake.exe -recursive PyQt5.pro
Reading C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtCore/QtCore.pro
Reading C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtGui/QtGui.pro
Reading
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtMultimedia/QtMultimedia.pro
Reading
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtMultimediaWidgets/QtMultimediaWidgets.pro
Reading
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtNetwork/QtNetwork.pro
Reading C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtOpenGL/QtOpenGL.pro
Reading
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtPrintSupport/QtPrintSupport.pro
Reading C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtQml/QtQml.pro
Reading C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtQuick/QtQuick.pro
Reading C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtSvg/QtSvg.pro
Reading
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtWidgets/QtWidgets.pro
Reading C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtXml/QtXml.pro
Reading
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/_QOpenGLFunctions_2_0/_QOpenGLFunctions_2_0.pro
Reading
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/_QOpenGLFunctions_2_1/_QOpenGLFunctions_2_1.pro
Reading
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/_QOpenGLFunctions_4_1_Core/_QOpenGLFunctions_4_1_Core.pro
Reading
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/QtQuickWidgets/QtQuickWidgets.pro
Reading C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/Qt/Qt.pro
[100%] Performing build step for 'ext_pyqt'
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtNetwork/sipQtNetworkQNetworkProxyQuery.cpp:
In function 'PyObject*
meth_QNetworkProxyQuery_networkConfiguration(PyObject*, PyObject*)':
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtNetwork/sipQtNetworkQNetworkProxyQuery.cpp:383:80:
warning: 'QNetworkConfiguration QNetworkProxyQuery::networkConfiguration()
const' is deprecated: QNetworkConfiguration support in QNetworkProxy is
deprecated [-Wdeprecated-declarations]
             sipRes = new
 ::QNetworkConfiguration(sipCpp->networkConfiguration());

    ^
In file included from
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtNetwork/qnetworkproxy.sip:91:0:
c:\dev\i_deps\include\QtNetwork/qnetworkproxy.h:124:27: note: declared here
     QNetworkConfiguration networkConfiguration() const;
                           ^~~~~~~~~~~~~~~~~~~~
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtNetwork/sipQtNetworkQNetworkProxyQuery.cpp:
In function 'PyObject*
meth_QNetworkProxyQuery_setNetworkConfiguration(PyObject*, PyObject*)':
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtNetwork/sipQtNetworkQNetworkProxyQuery.cpp:409:48:
warning: 'void QNetworkProxyQuery::setNetworkConfiguration(const
QNetworkConfiguration&)' is deprecated: QNetworkConfiguration support in
QNetworkProxy is deprecated [-Wdeprecated-declarations]
             sipCpp->setNetworkConfiguration(*a0);
                                                ^
In file included from
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtNetwork/qnetworkproxy.sip:91:0:
c:\dev\i_deps\include\QtNetwork/qnetworkproxy.h:126:10: note: declared here
     void setNetworkConfiguration(const QNetworkConfiguration
&networkConfiguration);
          ^~~~~~~~~~~~~~~~~~~~~~~
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtNetwork/sipQtNetworkQNetworkProxyQuery.cpp:
In function 'void* init_type_QNetworkProxyQuery(sipSimpleWrapper*,
PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)':
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtNetwork/sipQtNetworkQNetworkProxyQuery.cpp:645:58:
warning: 'QNetworkProxyQuery::QNetworkProxyQuery(const
QNetworkConfiguration&, const QUrl&, QNetworkProxyQuery::QueryType)' is
deprecated: QNetworkConfiguration support in QNetworkProxy is deprecated
[-Wdeprecated-declarations]
             sipCpp = new  ::QNetworkProxyQuery(*a0,*a1,a2);
                                                          ^
In file included from
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtNetwork/qnetworkproxy.sip:91:0:
c:\dev\i_deps\include\QtNetwork/qnetworkproxy.h:80:5: note: declared here
     QNetworkProxyQuery(const QNetworkConfiguration &networkConfiguration,
     ^~~~~~~~~~~~~~~~~~
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtNetwork/sipQtNetworkQNetworkProxyQuery.cpp:671:65:
warning: 'QNetworkProxyQuery::QNetworkProxyQuery(const
QNetworkConfiguration&, const QString&, int, const QString&,
QNetworkProxyQuery::QueryType)' is deprecated: QNetworkConfiguration
support in QNetworkProxy is deprecated [-Wdeprecated-declarations]
             sipCpp = new  ::QNetworkProxyQuery(*a0,*a1,a2,*a3,a4);
                                                                 ^
In file included from
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtNetwork/qnetworkproxy.sip:91:0:
c:\dev\i_deps\include\QtNetwork/qnetworkproxy.h:83:5: note: declared here
     QNetworkProxyQuery(const QNetworkConfiguration &networkConfiguration,
     ^~~~~~~~~~~~~~~~~~
C:\dev\b\ext_pyqt\ext_pyqt-prefix\src\ext_pyqt\QtNetwork/sipQtNetworkQNetworkProxyQuery.cpp:696:61:
warning: 'QNetworkProxyQuery::QNetworkProxyQuery(const
QNetworkConfiguration&, quint16, const QString&,
QNetworkProxyQuery::QueryType)' is deprecated: QNetworkConfiguration
support in QNetworkProxy is deprecated [-Wdeprecated-declarations]
             sipCpp = new  ::QNetworkProxyQuery(*a0,a1,*a2,a3);
                                                             ^
In file included from
C:/dev/b/ext_pyqt/ext_pyqt-prefix/src/ext_pyqt/sip/QtNetwork/qnetworkproxy.sip:91:0:
c:\dev\i_deps\include\QtNetwork/qnetworkproxy.h:87:5: note: declared here
     QNetworkProxyQuery(const QNetworkConfiguration &networkConfiguration,
     ^~~~~~~~~~~~~~~~~~
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
[100%] Performing install step for 'ext_pyqt'
[100%] Completed 'ext_pyqt'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200204/a3cedb00/attachment-0001.html>


More information about the PyQt mailing list