[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wayland again
[Thread Prev] | [Thread Next]
- Subject: Re: Wayland again
- From: valaquarus <valaquarus@xxxxxxxxx>
- Date: Sun, 08 Nov 2026 15:26:29 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le dimanche 08 novembre 2026 à 12:57 +0000, gbWilly a écrit :
>
> On Sunday, November 8th, 2026 at 08:56, valaquarus
> <valaquarus@xxxxxxxxx> wrote:
>
> >
> > Howdy everyone,
> > I just tested several of my programs in wayland, just to see.
> > Several do not even start with an error I dont understand :
> >
> >
> > It just stop in the first steps, here :
> >
> > Public Sub _new()
> >
> > $hDrawingArea = New DrawingArea(Me) As "player" '<-----------------
> > ---' this declaration seems to not fit wayland
> > $hDrawingArea.Cached = True '<---------------------------------
> > -------------------' for that, this is false
> > If XInitThreads() == 0 Then Error.Raise(("Quelque chose ne va
> > pas!"))
> > $inst = libvlc_new(0, Null)
> > $id = $hDrawingArea.Id '<-----------------------------------------
> > ------------------' for that, this is false
>
>
> Hi Valaquarus,
>
> XInitThreads is a call to libX11
> I use it in my VLC interface like this:
> -------------------
> Library "libX11:6"
>
> '' In order to init x11 for threaded hardware decoding - seems only
> be usable with qt and causes a crash with gtk
> Extern XInitThreads() As Integer
>
> Public Sub _new()
> Dim iReturn As Integer
>
> 'Only use this X11 init with qt because the program would crash
> with gtk
> If Component.IsLoaded("gb.gui.qt") Or Component.IsLoaded("gb.qt5")
> Then
> iReturn = XInitThreads()
> If iReturn = 0 Then Raise Error("XInitThreads error.")
> Debug "XInitThreads initialized"
> End If
> ....
>
> End
> ------------------
> I guess the fact that it is needs x11 is your main problem here.
>
> gbWilly
Hi gbWilly,
this is it, you are right I did launch the prog with gtk because QT6 is
not yet on 6.12 on my Manjaro.
I will correct it your way.
Thank you very much.
| Wayland again | valaquarus <valaquarus@xxxxxxxxx> |
| Re: Wayland again | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
