[Gambas-user] export GB_GUI=gb.qt5 not honored when running app inside ide

Benoît Minisini g4mba5 at gmail.com
Wed Apr 20 16:27:26 CEST 2022


Le 20/04/2022 à 15:29, Brian G a écrit :
> if my .profile contains export GB_GUI=gb.qt5
> The when I start the IDE, it will start and work with qt interface, but 
> when I run my app from the IDE it defaults to the environment for my 
> desktop gtk for example and does not honor the export GB_GUI=gb.qt5 in 
> the environment. At least from my testing It seemed to be doing that. 
> Maybe I am wrong.
> 
> It was a bit confusing as it would look one way while working on it but 
> never the same when I ran it in the IDE.
> 
> Until I discovered this and set the debug option to choose qt or gtk.
> 
> Would it not be better to have the IDE execute the App in the same 
> environment/interface  it was being developed in by default.
> 
> Any comments?
> 

The 'GB_GUI' environment variable is managed by the IDE, so the one used 
by the IDE is overridden.

I don't think it's a bad thing. It's less ambiguous.

-- 
Benoît Minisini


More information about the User mailing list