[Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project?

Gianluigi bagonergi at gmail.com
Fri Mar 11 17:28:31 CET 2022


Il giorno ven 11 mar 2022 alle ore 16:03 Benoît Minisini <g4mba5 at gmail.com>
ha scritto:

> Le 11/03/2022 à 15:47, Gianluigi a écrit :
> >
> > Actually my question could also be changed in this way.
> > Why in the IDE that is a graphic project that uses QT or GTK you can use
> > the sdl2 library but I can't, where am I wrong?
> >
> > Regards
> > Gianluigi
> >
>
> I don't understand your point.
>
> You can't use 'gb.sdl2' with any other GUI component, they are not
> compatible (because they all implement their own event loop).
>
> Of course, you can load the SDL2 shared libraries with the QT or GTK+
> shared libraries, but what for?
>
> Regards,
>
> --
> Benoît Minisini
>

Hi Benoit,

I'm sorry I couldn't explain that I wanted to use the gb.sdl2 component to
load a tif file and turn it into a jpeg file.
Anyway I tried the code to satisfy Martin's request and it works for him
and vuott's code that uses gb.media works too.

I would say that as soon as I thank Tim and answer Martin we can close the
discussion here.

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220311/815a1ff2/attachment.htm>


More information about the User mailing list