[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#974091: This is really a libqt5opengl5 dependency issue



Hi Sebastian!

On Thu, Apr 22, 2021 at 06:45:06PM +0200, Sebastian Spaeth wrote:
> While this is filed against qtbase5-examples, the dependency issues are
> really a problem of libqt5opengl5 and should thus be filed against this
> package.
>
>     libqt5gui5 (>= 5.1.0), libqt5gui5 (>= 5.12.5) | libqt5gui5-gles (>=
> 5.12.5)
>
> essentially excludes libqt5gui5-gles. I experience this problem trying to
> install qtgstreamer-plugins-qt5 which depends on libqt5opengl5 leading to
> the same problems. On both the pinephone and the Librem5, the non-gles
> versions lead to crashes.

This is correct. libqt5opengl5 is a deprecated library [1] and we decided to
not ship an OpenGL ES version of it.

Packages that depend on libqt5opengl5 should be ported to modern API (e.g.
QGLWidget → QOpenGLWidget), then they will not have this extra dependency.
In Qt 6, the OpenGL library is removed completely.

Speaking about qtgstreamer particularly, it is unmaintained [2] and the author
suggests some alternatives which should be used instead.

By the way, thanks for the feedback of using our packages on pinephone and
Librem5. If there are any other issues, please do not hesitate to report them.

[1]: https://doc.qt.io/qt-5/qtopengl-index.html
[2]: https://cgit.freedesktop.org/gstreamer/qt-gstreamer/tree/README

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: