[Gambas-user] On Ubuntu 20 no qt4 libraries?

Bruce Steers bsteers4 at gmail.com
Fri Dec 25 14:25:39 CET 2020


gb.gui.qt will auto switch (or select with env) between qt4 and qt5.
gb.gui will switch between gtk2 gtk3 qt4 and qt5

If you do not require your program to be qt (as i would have assumed you
would as you used the qt4 component explicitly) then use gb.gui

Here's an explanation.
http://gambaswiki.org/wiki/comp/gb.gui
BruceS




On Fri, 25 Dec 2020 at 13:14, Rolf-Werner Eilert <rwe-sse at osnanet.de> wrote:

>
> Am 25.12.20 um 13:46 schrieb Charlie Reinl:
> > Am Freitag, den 25.12.2020, 13:24 +0100 schrieb Rolf-Werner Eilert:
> >> Merry Christmas to everyone!
> >>
> >> I installed a brand new Kubuntu 20.04 on my Laptop and fetched
> >> Gambas
> >> 3.15.2 from the Gambas-team repo.
> >>
> >> Before running it, I copied .config/gambas3 from the old HDD to keep
> >> my
> >> old settings. Everything running smoothy so far.
> >>
> >> Now, when I load my projectthere is ns, Gambas says "gb.qt4 and
> >> gb.qt4.ext
> >> missing" and the projects do not run properly. The two libraries
> >> aren't
> >> there in the components list, that's true.
> >>
> >> But on my Ubuntu Mate 18.04 in the office, I have never experienced
> >> any
> >> problems with this, and I do not use the repos from Ubuntu for
> >> Gambas
> >> but the same version from Gambas-team. Shouldn't they be identical?
> >>
> >> So what can I do? Thank you for your help.
> >>
> >> Rolf
> >>
> >>
> > Salut Rolf,
> >
> > qt4 is no longer delivered with 20.04, you have to change to qt5 (in
> > project/properties/components) or better to gui.qt
> >
> Ah ok, so it adapts to missing libraries. I changed to gb.gui, and it
> seems to run flawlessly. What would be the advantage of gb.gui.qt over it?
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201225/924b48e4/attachment-0001.htm>


More information about the User mailing list