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

Bug#1053917: libqt5gui5: Segfaults when starting QT application



On Fri, 24 Nov 2023 at 09:17, Lisandro Damián Nicanor Pérez Meyer
<perezmeyer@gmail.com> wrote:

> Mmm, Gnome uses Wayland nowadays, and the segfault comes form libQt5XcbQpa,
> which is the lib that handles X stuff. It only happens before Gnome
> completely started,so I wonder if we have some race condition on which Qt apps try to use

> X too soon in the process.
>
>
> But let's try this. Try starting your app on log by prepending
> QT_QPA_PLATFORM
>
>
> QT_QPA_PLATFORM=wayland /usr/bin/yourapp
>
>
> Or any other way that ensures that QT_QPA_PLATFORM=wayland is set as
> environment variable before starting the app.

Or try finding a way to start the apps once all the relevant Wayland
stuff is there, as clearly something is guiding Qt apps to use X
instead.

--
Lisandro Damián Nicanor Pérez Meyer
https://perezmeyer.com.ar/


Reply to: