简体   繁体   English

pyqtdeploy:找不到qt许可证文件

[英]pyqtdeploy: qt license file not found

I'm trying to work my way through the pyqtdeploy documentation , trying to build the pyqt-demo project . 我正在尝试遍历pyqtdeploy文档 ,尝试构建pyqt-demo项目

My system is an Ubuntu 18.04 (fresh installation, up-to-date) 我的系统是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

I'm using pyqtdeploy v. 2.3. 我正在使用pyqtdeploy v。2.3。

I downloaded every file required by the build(*) but I have a problem with the Qt tarball : I downloaded https://download.qt.io/archive/qt/5.11/5.11.1/single/qt-everywhere-src-5.11.1.tar.xz , not knowing if it was the right file to be used. 我下载了build(*)所需的每个文件,但Qt tarball出现了问题:我下载了https://download.qt.io/archive/qt/5.11/5.11.1/single/qt-everywhere-src -5.11.1.tar.xz ,不知道它是否是正确的文件。

... and this is what I got: ...这就是我得到的:

$ 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

I'm 100% sure the qt-*.tar.xz file is found since an message appears, saying that the file is unpacked. 我有100%的肯定会找到qt-*。tar.xz文件,因为出现了一条消息,说该文件已解压缩。

I'm obviously missing something important : should I use a file like qt-everywhere-opensource-src-5.11.1.tar.xz although I can't find such a file ? 我显然缺少一些重要的东西: 尽管找不到这样的文件,我应该使用qt-everywhere-opensource-src-5.11.1.tar.xz 这样的文件吗? Any help would be appreciated ! 任何帮助,将不胜感激 !


(*) required tarballs : (*) 必需的tarball

Fixed since pyqtdeploy-2.3.1.dev1811241346. 自pyqtdeploy-2.3.1.dev1811241346起已修复。 See here for Phil Thomson's answer and here to download the last snapshot. 请参阅此处以获得Phil Thomson的答案,并单击此处下载最新快照。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM