Currently Qt4Python bindings for the 3D and speech modules are only provided by dev-python/pyside2, in principle dev-python/PyQt5 has support for these bindings too, however the ebuild does not provide a flag to enable these. Because of this dev-python/QtPy (the abstraction layer) also cannot properly support these bindings, as they are not provided by both implementations. An initial attempt to add these bindings to the PyQt5 ebuild failed because none of the dev-qt/ packages seem to provide the necessary QtQuick3D module. One would expect dev-qt/qt3d[qml] to enable building this module, but apparently it does not: ``` Project ERROR: Unknown module(s) in QT: quick3d ``` See also: https://github.com/gentoo/gentoo/pull/21037 Any help or advice in solving this problem would be greatly appreciated
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855845d182eafb7cd34fe4279bd639518ec84f98 commit 855845d182eafb7cd34fe4279bd639518ec84f98 Author: Davide Pesavento <pesa@gentoo.org> AuthorDate: 2021-06-02 20:07:37 +0000 Commit: Davide Pesavento <pesa@gentoo.org> CommitDate: 2021-06-02 20:13:00 +0000 dev-python/PyQt5: add USE=speech Bug: https://bugs.gentoo.org/792861 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Davide Pesavento <pesa@gentoo.org> .../PyQt5/{PyQt5-5.15.4.ebuild => PyQt5-5.15.4-r1.ebuild} | 10 ++++++---- dev-python/PyQt5/metadata.xml | 3 ++- profiles/arch/powerpc/package.use.mask | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7418b6e3f62b9dc73a7f425a38af4351b87db7 commit cb7418b6e3f62b9dc73a7f425a38af4351b87db7 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2021-06-02 20:25:36 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2021-06-02 20:25:36 +0000 dev-python/QtPy: add USE="speech" Bug: https://bugs.gentoo.org/792861 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> dev-python/QtPy/QtPy-1.9.0-r5.ebuild | 15 +++++++-------- dev-python/QtPy/metadata.xml | 3 ++- 2 files changed, 9 insertions(+), 9 deletions(-)
(In reply to Andrew Nowa Ammerlaan from comment #0) > An initial attempt to add these bindings to the PyQt5 ebuild failed because > none of the dev-qt/ packages seem to provide the necessary QtQuick3D module. > One would expect dev-qt/qt3d[qml] to enable building this module, but > apparently it does not: > ``` > Project ERROR: Unknown module(s) in QT: quick3d > ``` > See also: https://github.com/gentoo/gentoo/pull/21037 > > Any help or advice in solving this problem would be greatly appreciated $ eshowkw qtquick3d Keywords for dev-qt/qtquick3d: | | u | | a a p s l r a | n | | m r h p p i o i s l m m | e u s | r | d a m p p c a x a o s 3 p 6 i | a s l | e | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o ---------+-------------------------------+----------------+------- 6.7.1 | + + + o o + o + o ~ ~ o o o o | 8 o 6/6.7.1 | gentoo ---------+-------------------------------+----------------+------- [I]6.7.2 | + + + o o + o + o ~ ~ o o o o | 8 o 6/6.7.2 | gentoo ---------+-------------------------------+----------------+------- 6.7.9999 | o o o o o o o o o o o o o o o | 8 o 6/6.7.9999 | gentoo ---------+-------------------------------+----------------+------- 6.8.9999 | o o o o o o o o o o o o o o o | 8 o 6/6.8.9999 | gentoo ---------+-------------------------------+----------------+------- 6.9999 | o o o o o o o o o o o o o o o | 8 o 6/6.9999 | gentoo It was never packaged for Qt5 and at this point won't be, I guess.
Yeah, think this is a WONTFIX at this point. qtquick3d is also quirky and has issues on many arches (not that we'd know with Qt5 given tests aren't wired up). The speech and quick3d bindings are available with PyQt6 (there are no missing bindings for PyQt6 that are possible to enable).