[Gambas-user] qt4/qt5 and gb.gui.qt

Benoit Minisini benoit.minisini at gambas-basic.org
Sun Jul 9 19:52:54 CEST 2023


Le 07/07/2023 à 22:07, gbWilly via User a écrit :
> Hi all,
> 
> I'm working on some old projects that have been laying around catching 
> dust for years.
> Now all these projects use gb.qt4 and qt4.ext.
> 
> Since I still have a few old systems running qt4 and the newer systems 
> running qt5 I decided to go for gb.gui.qt, so that applications will 
> install on all systems regardless of qt4 or qt5.
> 
> So far so good, but what about gb.qt4.ext. It provides me with 
> TextEditor which I use in some projects. There is no gb.gui.qt.ext 
> component to provide me with TextEdit in the IDE and my compiler 
> complains and doesn't open my forms with TextEditor on them.
> 
> So, if I want TextEditor I need to choose for either qt4 or qt5, which 
> kinda makes no sense if you want to make packages that work on both 
> environments.
> 
> Any foreseen solutions for this problem?
> Anybody else run into this maybe?
> 
> gbWilly
> 
> Sent with Proton Mail <https://proton.me/> secure email.
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

Commit 
https://gitlab.com/gambas/gambas/-/commit/d431251e2c06698d3cfce48fad80b7bb882711fd 
brings a new 'gb.gui.qt.ext' component.

If you can try it, tell me if it works!

Regards,

-- 
Benoît Minisini.



More information about the User mailing list