[vlc-devel] [PATCH] qt: Prefer XCB over Wayland

Nicolas Chauvet kwizart at gmail.com
Thu Jun 29 17:17:15 CEST 2017

2017-06-28 14:10 GMT+02:00 Rémi Denis-Courmont <remi at remlab.net>:
> Le 23 juin 2017 17:30:09 GMT+03:00, Martin Briza <mbriza at redhat.com> a écrit
> :
>> Wayland users now have no choice (except setting WAYLAND_DISPLAY to '')
>> how to avoid getting VLC under Wayland which may not be optimal yet.
>> This patch ensures the XCB backend is preferred. This means the developers
> I don't see any rationale why Xlib should have priority over Wayland.
> Normally, if you have both, you want the later.
FYI, I've applied this patch in Fedora as it allows Wayland users to
use vlc under XWayland and circumvent the qt bugs under such

> The referenced bug alleges Qt bugs in the version of Qt shipped by Fedora.
> That's not a rationale in the context of this upstream VLC repository.
Sure, but actually I still fail to understand why the bug is in the qt
side ? As I have an older vlc snapshot working with the same qt 5.7.1
that we have in Fedora. (anything later the qt platform detection
I've also checked that no qt patches would be relevant in the vlc
contribs (only relevant for Windows) and we also have the private
header  -DQPNI_HEADER=\<5.7.1/QtGui/qpa/qplatformnativeinterface.h\>.

I understand it can be qt bug, but I fail to see how that's an evidence ?
So can you elaborate ?

Thx for your answer on this topic.

More information about the vlc-devel mailing list