[Development] Dynamic OpenGL option on Linux?

Dmitry Shachnev mitya57.ml at gmail.com
Thu Dec 6 22:48:17 CET 2018


Hi Laszlo!

You are listed as the maintainer of OpenGL integration, can you please comment
on this?

Sorry for pinging you directly, but nobody else seems to know the situation.

On Thu, Nov 29, 2018 at 11:26:21PM +0300, Dmitry Shachnev wrote:
> Hi all,
>
> I filed https://bugreports.qt.io/browse/QTBUG-72128 today, but some people
> suggested that it’s better to discuss this on the mailing list first.
>
> In Debian we are having a long discussion [1] on whether to build Qt with
> ‘-opengl desktop’ or ‘-opengl es2’ on ARM64 (aarch64) and some other
> architectures.
>
> There are users who want the desktop implementation (for desktops and some
> boards), and there are users who want the OpenGL ES implementation (for
> mobile devices and other boards).
>
> We are currently considering shipping two (conflicting) sets of Qt libraries,
> but that is a hacky and not ideal solution. It would be much better if Qt
> had an option to select OpenGL version at runtime (via dlopen or some other
> mechanism), similar to what is provided on Windows with ‘-opengl dynamic’
> option [2].
>
> Is there a chance to have such an option? It would allow Linux distributions
> to offer best-in-class support for both mobile- and desktop-class computers.
>
> Maybe I will be happy to help with implementing this if someone tells me that
> it is possible and what will need to be done in the code to allow it.
>
> [1]: https://lists.debian.org/debian-devel/2018/11/thrd2.html#00457
> [2]: https://doc.qt.io/qt-5/windows-requirements.html#dynamically-loading-graphics-drivers

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20181207/9f579883/attachment.sig>


More information about the Development mailing list