[vlc-devel] [PATCH] Rely on Qt with determining if XCB or Wayland should be used

Martin Bříza mbriza at redhat.com
Wed Jun 7 17:25:52 CEST 2017


On Tue, 06 Jun 2017 18:44:02 +0200, Rémi Denis-Courmont <remi at remlab.net>  
wrote:

> 	Hello,
>
> Le tiistaina 6. kesäkuuta 2017, 12.03.09 EEST Martin Briza a écrit :
>> Related to https://trac.videolan.org/vlc/ticket/18383 .
>>
>> This makes the Qt frontend work right in GNOME Shell where the users  
>> had no
>> chance to switch back to the XCB backend and had a completely broken
>> player.
>>
>> As a bonus, it's now possible to use QT_QPA_PLATFORM to set which  
>> backend
>> you want to use to run VLC.
>>
>> Yes, it will crash if Qt tries to run on XCB or Wayland while it's not
>> present but this can be fixed by having a custom message handler for  
>> qFatal
>> messages (which contains an abort() call by default)
>
> It crashes if VLC is run from plain text moed command line.
> Sorry but this is absolutely not acceptable.

Hmm, you're right, sorry.
Seems there's now no way to avoid the abort() call from the xcb backend. I  
guess setting a special signal handler for this case and then removing it  
wouldn't be deemed alright, or?


More information about the vlc-devel mailing list