pypyqtdeploy:qt许可证文件未找到



我正在努力完成pyqtdeploy文档,试图构建pyqt演示项目。

我的系统是Ubuntu 18.04(全新安装,最新(

$ uname -a :
Linux sui 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

我使用的是pyqtdeploy v.2.3。

我下载了构建所需的所有文件(*(,但我对Qt tarball有问题:我下载了https://download.qt.io/archive/qt/5.11/5.11.1/single/qt-everywhere-src-5.11.1.tar.xz,不知道它是否是要使用的正确文件。

这就是我得到的:

$ python3 build-demo.py --verbose --source-dir=[skipped] --installed-qt-dir=[skipped]
[skipped]Creating qmake...
Done.
Info: creating super cache file [skipped]/sysroot-linux-64/build/qt-everywhere-src-5.11.1/.qmake.super
Info: creating stash file [skipped]/demo/sysroot-linux-64/build/qt-everywhere-src-5.11.1/.qmake.stash
Error: Qt license file was not found!
Note: Also available for Linux: linux-clang linux-icc
ERROR: You are not licensed to use this software.
pyqtdeploy-sysroot: Execution failed: returned exit code 3

我100%确信qt-*.tar.xz文件已经找到,因为出现了一条消息,说该文件已解包。

我显然错过了一些重要的东西:我应该使用像qt-everywhere-opensource-src-5.11.1.tar.xz这样的文件吗?尽管我找不到这样的文件?任何帮助都将不胜感激!


(*(所需防水球:

  • python:https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tar.xz在https://www.python.org/downloads/release/python-371/
  • qt:https://download.qt.io/archive/qt/5.11/5.11.1/single/qt-everywhere-src-5.11.1.tar.xz在https://download.qt.io/archive/qt/5.11/5.11.1/single/
  • openssl:https://www.openssl.org/source/openssl-1.1.1.tar.gz在https://www.openssl.org/source/
  • zlib:https://zlib.net/zlib-1.2.11.tar.gz在https://zlib.net/
  • 啜饮:https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.13/sip-4.19.13.tar.gz在https://riverbankcomputing.com/software/sip/download
  • PyQt5:https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.11.3/PyQt5_gpl-5.11.3.tar.gz在https://www.riverbankcomputing.com/software/pyqt/download5
  • PyQt3D:https://sourceforge.net/projects/pyqt/files/PyQt3D/PyQt3D-5.11.3/PyQt3D_gpl-5.11.3.tar.gz在https://www.riverbankcomputing.com/software/pyqt3d/download
  • PyQt图表:https://sourceforge.net/projects/pyqt/files/PyQtChart/PyQtChart-5.11.3/PyQtChart_gpl-5.11.3.tar.gz在https://www.riverbankcomputing.com/software/pyqtchart/download
  • PyQtDataVisualization:https://sourceforge.net/projects/pyqt/files/PyQtDataVisualization/PyQtDataVisualization-5.11.3/PyQtDataVisualization_gpl-5.11.3.tar.gz在https://www.riverbankcomputing.com/software/pyqtdatavisualization/download
  • PyQt采购:https://sourceforge.net/projects/pyqt/files/PyQtPurchasing/PyQtPurchasing-5.11.3/PyQtPurchasing_gpl-5.11.3.tar.gz在https://www.riverbankcomputing.com/software/pyqtpurchasing/download
  • QScintilla:https://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.10.8/QScintilla_gpl-2.10.8.tar.gz在https://www.riverbankcomputing.com/software/qscintilla/download

自pyqtdeploy-2.3.1.dev1811241346以来已修复。请参阅此处获取Phil Thomson的答案,并在此处下载最后一张快照。

最新更新