[Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead

bugtracker at ...3416... bugtracker at ...3416...
Sun Jan 10 18:50:30 CET 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4-

Comment #10 by Benoît MINISINI:

OK, thanks to your vm, I understand what happens. It's really stupid actually!

The Gambas 3 IDE using gb.gui.qt (it's like gb.gui, but only for qt), it sets the GB_GUI environment variable with the gui component it uses.

So when you run your program from the IDE, if you don't set explicitly GB_GUI in the project property dialog, the one set by the IDE is inherited, and so the QT component is used.

But if you run your program outside of the IDE, it works as expected.

I will try to fix that in the development version. As a workaround, you just have to define GB_GUI explicitly in the project property dialog. This has no effect outside of running the program from the IDE.

Benoît MINISINI changed the state of the bug to: Working.






More information about the User mailing list