pyqtdeploy demo build terminates with Project ERROR: Unknown module(s) in QT: x11extras
phil at riverbankcomputing.com
Wed Dec 2 14:54:54 GMT 2020
On 02/12/2020 14:31, Frans Fürst wrote:
> On Wednesday, December 2, 2020 12:11 PM, Phil Thompson
> <phil at riverbankcomputing.com> wrote:
>> On 02/12/2020 10:43, Frans Fürst wrote:
>> > I'm experiencing the same issue as stated here:
>> > https://www.riverbankcomputing.com/pipermail/pyqt/2020-September/043203.html
>> > ....
>> > Project ERROR: Unknown module(s) in QT: x11extras
>> > pyqtdeploy-sysroot: execution of 'sip-install' failed: returned exit
>> > code 1
>> > I'm running out of ideas.. Can someone provide me with a hint how to
>> > locate the problem? What does "Unknown module(s) in QT" mean?
>> > Is there a distinct list of dependencies needed for PyQt5 on Linux and
>> > for Linux? I've read
>> > https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/demo.html#building-the-demo
>> > as recommended by Phil but I think I've installed all dependencies one
>> > can think of..
>> ...but clearly not all that are required. The requirements will be
>> distro-specific, distro version-specific and Qt version-specific.
> Is there any chance to get a list of those dependencies? Maybe a
> Dockerfile which demonstrates how to build the pyqtdeploy demo (or at
> least PyQt5)?
> It looks like Qt5 itself builds perfectly fine and the Qt5 wiki sais
> all it needs is build-essential, libx11-xcb-dev and libglu1-mesa-dev:
> I've definitively installed all of them among many others.
> I'll now start debugging pyqtdeploy-sysroot and sip-install in order
> to get an idea what "Unknown module(s) in QT: x11extras" might mean,
> but maybe someone has a list of packages to be installed before
> running pyqtdeploy on a fresh system?
The message means that Qt doesn't know about the module because it
didn't build it. It didn't build it because of missing dependencies. The
information is probably buried in the Qt build logs somewhere.
More information about the PyQt