[Gambas-user] Making an app gtk/qt switchable
bsteers4 at gmail.com
Sat Nov 14 20:34:01 CET 2020
I'm trying to set an arg/option in my app to choose gui system.
I've added an arg --gui with options gtk gtk3 qt4 or qt5.
It has a Startup.module before FMain where the arg is read
Env["GB_GUI"] = "gb." & LCase(sGuiArg)
But it don't work :(
so i thought i could use Component.Load("gb." & LCase(sGuiArg))
which i guess i could if i could remove the default bg.gui component in the
IDE but i can't, gotta have one of them.
Loading the component gives a segmentation 11 fault.
And there does not seem to be a Component.Unload() option.
I'm out of ideas...
Is it even possible to do?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User