[Gambas-user] running IDE with Qt5

Benoît Minisini gambas at ...1...
Sun Dec 6 09:30:56 CET 2015


Le 06/12/2015 04:24, Ian Haywood a écrit :
> On Sun, Dec 6, 2015 at 11:03 AM, PICCORO McKAY Lenz
> <mckaygerhard at ...626...> wrote:
>> set a env variable to QT5 and that's all, of course, all the
>> components in qt5 framework must be set, packages made for some
>> disributions may have some misc but works in general lines
> when packaging for a distro the interpreter should work "out of the
> box", users should be
> able to type "gambas3" or launch form the menus, not "GB_GUI=QT5 gambas3"
>
> One solution is to have a wrapper shell script that sets the variable
> Easier IMHO is to patch main/lib/gui.qt/main.c to prefer qt5 over qt4
> which is probably what Debian will end up doing.
>
> Ian
>

gambas3 is not the interpreter, it's the IDE.

Maybe the solution is making the gb.gui.qt component clever.

I mean, if a project needs both gb.gui.qt and gb.gui.qt.webkit, it must 
check both to choose between QT4 ot QT5, not just gb.gui.qt.

Regards,

-- 
Benoît Minisini




More information about the User mailing list