[PyQt] pyqtdeploy-sysroot 2.2 not copying host dir from installed qt dir?

Patrick Stinson patrickkidd at gmail.com
Wed Oct 17 23:58:53 BST 2018


It appears as though pyqtdeploy-sysroot is not copying over the existing qt installation to $SYSROOT/host (sysroot.json follows at bottom):

Am I missing a config option?


=====================================================================


C:\Users\patrick\Desktop\dev\vendor>pyqtdeploy-sysroot --source src --component qt5 --verbose ..\pkdiagram\sysroot.json
Looking for 'C:\Qt\Qt5.11.2\5.11.2\msvc2015'
Found 'C:\Qt\Qt5.11.2\5.11.2\msvc2015'
Looking for 'C:\Users\patrick\Desktop\dev\vendor\src\Python-3.6.4-patched.tgz'
Found 'C:\Users\patrick\Desktop\dev\vendor\src\Python-3.6.4-patched.tgz'
Deleting C:\Users\patrick\Desktop\dev\vendor\sysroot-win-32\build
Creating C:\Users\patrick\Desktop\dev\vendor\sysroot-win-32\build
Installing an existing Qt5
Copying C:\Qt\Qt5.11.2\5.11.2\msvc2015\bin\qmake.exe to C:\Users\patrick\Desktop\dev\vendor\sysroot-win-32\host\bin\qmake.exe
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 106, 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 74, in build
    os.path.join(sysroot.host_bin_dir, sysroot.host_exe('qmake')))
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\site-packages\pyqtdeploy\sysroot\sysroot.py", line 570, in make_symlink
    shutil.copyfile(src, dst)
  File "c:\users\patrick\appdata\local\programs\python\python36-32\lib\shutil.py", line 121, in copyfile
    with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\patrick\\Desktop\\dev\\vendor\\sysroot-win-32\\host\\bin\\qmake.exe'

C:\Users\patrick\Desktop\dev\vendor>

=======================================================================


    "qt5": {
        "ios#qt_dir": "../lib/Qt/5.11.1/ios",
        "ios#ssl": "securetransport",
        "win#qt_dir": "C:\\Qt\\Qt5.11.2\\5.11.2\\msvc2015",
        "macos|win#ssl": "openssl-linked",
        "macos#source": "qt-everywhere-src-5.11.2.tar.xz",
        "macos#configure_options": [
            "-opensource",
            "-debug-and-release",
            "-nomake", "examples",
            "-nomake", "tests",
            "-no-sql-mysql",
            "-no-sql-psql"
        ],
        "skip": [
            "qtactiveqt",
            "qtcanvas3d",
            "qtgamepad",
            "qtremoteobjects",
            "qtscript",
            "qtserialbus",
            "qtserialport",
            "qtspeech",
            "qtvirtualkeyboard",
            "qtwayland",
            "qtwebglplugin",
            "qtwebsockets",
            "qtwebengine",
            "qtwebchannel",
            "qtwebview"
         ]
    },


More information about the PyQt mailing list