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.



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to