[PyQt] pyqtdeploy-2.1: QMAKE_MSC_VER building qt-5.10.1

Patrick Stinson patrickkidd at gmail.com
Mon Apr 9 23:16:27 BST 2018


The qt5 build process bails for me right after linking qmake,exe on windows. Maybe the change in usage of the QMAKESPEC env variable from qt-5.8 to qt-5.9 is the cause, as described in this thread? https://bugreports.qt.io/browse/QTBUG-60016 <https://bugreports.qt.io/browse/QTBUG-60016>


From my sysroot.conf:
======================================================


    "qt5": {
        "ios#qt_dir": "/Users/patrick/dev/vendor/lib/Qt/5.10.0/ios",
        "ios#ssl": "securetransport",
        "macos#source": "src/qt-everywhere-src-5.10.0-pk.tar.gz",
        "macos#configure_options": [
            "-opensource",
            "-debug-and-release",
            "-nomake", "examples",
            "-nomake", "tests"
        ],
        "skip": [
            "qtactiveqt",
            "qtcanvas3d",
            "qtgamepad",
            "qtremoteobjects",
            "qtscript",
            "qtserialbus",
            "qtserialport",
            "qtspeech",
            "qtvirtualkeyboard",
            "qtwayland",
            "qtwebchannel",
            "qtwebengine",
            "qtwebglplugin",
            "qtwebsockets",
            "qtwebview"
         ]
    },


The build error:
==============================================
link  /OUT:..\bin\qmake.exe project.obj main.obj ioutils.obj proitems.obj qmakevfs.obj  qmakeglobals.obj qmakeparser.obj qmakeevaluator.obj qmakebuiltins.obj  makefile.obj unixmake.obj unixmake2.obj mingw_make.obj  option.obj winmakefile.obj projectgenerator.obj property.obj meta.obj  makefiledeps.obj metamakefile.obj xmloutput.obj  msvc_nmake.obj msvc_vcproj.obj msvc_vcxproj.obj  msvc_objectmodel.obj msbuild_objectmodel.obj registry.obj qbitarray.obj  qbuffer.obj  qcryptographichash.obj  qfilesystementry.obj  qfilesystemengine.obj  qfilesystemengine_win.obj  qfilesystemiterator_win.obj  qfsfileengine.obj  qfsfileengine_iterator.obj  qarraydata.obj  qbytearray.obj  qvsnprintf.obj  qbytearraymatcher.obj  qdatetime.obj  qdir.obj  qdiriterator.obj  qfiledevice.obj  qfile.obj  qtemporaryfile.obj  qabstractfileengine.obj  qfsfileengine_win.obj  qsystemlibrary.obj  qfileinfo.obj  qglobal.obj  qhash.obj  qiodevice.obj  qringbuffer.obj  qdebug.obj  qlist.obj  qlinkedlist.obj  qlocale.obj  qlocale_tools.obj  qlocale_win.obj  qversionnumber.obj  qmalloc.obj  qmap.obj  qoperatingsystemversion.obj  qoperatingsystemversion_win.obj  qregexp.obj  qtextcodec.obj  qutfcodec.obj  qstring.obj  qstring_compat.obj  qstringlist.obj  qstringbuilder.obj  qsystemerror.obj  qtextstream.obj  qdatastream.obj  quuid.obj  qrandom.obj  qsettings.obj  qvariant.obj  qsettings_win.obj  qmetatype.obj  qxmlstream.obj  qxmlutils.obj  qnumeric.obj  qlogging.obj  qjson.obj  qjsondocument.obj  qjsonparser.obj  qjsonarray.obj  qjsonobject.obj  qjsonvalue.obj qlibraryinfo.obj qmake_pch.obj ole32.lib advapi32.lib shell32.lib netapi32.lib
Microsoft (R) Incremental Linker Version 14.00.23918.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Info: creating super cache file X:\dev\vendor\sysroot-win-32\build\qt-everywhere-src-5.10.0-pk\.qmake.super
Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set
Traceback (most recent call last):
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\patrick\AppData\Local\Programs\Python\Python36-32\Scripts\pyqtdeploy-sysroot.exe\__main__.py", line 9, in <module>
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\site-packages\pyqtdeploy\pyqtdeploysysroot_main.py", line 83, in main
    sysroot.build_components(args.component, args.no_clean)
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\site-packages\pyqtdeploy\sysroot\sysroot.py", line 103, in build_components
    component.build(self)
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\site-packages\pyqtdeploy\sysroot\plugins\qt5.py", line 69, in build
    self._build_from_source(sysroot)
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\site-packages\pyqtdeploy\sysroot\plugins\qt5.py", line 178, in _build_from_source
    sysroot.run(*args)
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\site-packages\pyqtdeploy\sysroot\sysroot.py", line 562, in run
    subprocess.check_call(args)
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('configure.bat', '-prefix', 'X:\\dev\\vendor\\sysroot-win-32\\qt', '-commercial', '-confirm-license', '-static', '-release', '-nomake', 'examples', '-nomake', 'tools', '-no-ssl', '-opensource', '-debug-and-release', '-nomake', 'examples', '-nomake', 'tests', '-skip', 'qtactiveqt', '-skip', 'qtcanvas3d', '-skip', 'qtgamepad', '-skip', 'qtremoteobjects', '-skip', 'qtscript', '-skip', 'qtserialbus', '-skip', 'qtserialport', '-skip', 'qtspeech', '-skip', 'qtvirtualkeyboard', '-skip', 'qtwayland', '-skip', 'qtwebchannel', '-skip', 'qtwebengine', '-skip', 'qtwebglplugin', '-skip', 'qtwebsockets', '-skip', 'qtwebview', '-skip', 'qtimageformats')' returned non-zero exit status 3.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180409/91dbed50/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1403 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180409/91dbed50/attachment-0001.bin>


More information about the PyQt mailing list