pyqtdeploy: qt license file not found

1.2k Views Asked by At

I'm trying to work my way through the pyqtdeploy documentation, trying to build the pyqt-demo project.

My system is an Ubuntu 18.04 (fresh installation, up-to-date)

$ 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.

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.

... 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.

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 ? Any help would be appreciated !


(*) required tarballs:

1

There are 1 best solutions below

0
On

Fixed since pyqtdeploy-2.3.1.dev1811241346. See here for Phil Thomson's answer and here to download the last snapshot.