[Gambas-user] Components to be used
Benoît Minisini
g4mba5 at gmail.com
Tue May 19 16:33:17 CEST 2020
Le 19/05/2020 à 16:00, John Rose a écrit :
> Benoît,
> I'd previously read the wiki's descriptions of the gtk & qt components
> but was left no wiser by doing so. I'm not a professional developer, so
> I don't even know which of the Gtk2, Gtk3, QT4, QT5 tool kits is best
> for Ubuntu Xenial let alone understand why the selected component is the
> best.
Each four component should behave the same. In pratice, each one has its
own quirks, GTK+ components being less tested than QT ones. It depends
on what you use exactly, so just try or ask.
Normally, you should use the gb.gui component. It will choose the
toolkit according to the desktop used by the user, and the components
actually availble on the user desktop.
Choose explicitely a component only if you encounter problems with the
others.
>
> Gianluigi,
>
> Thanks for the tip about QT4 being best for Ubuntu, I just tried gb.gui.
> It created 5 .deb packages with slightly different names:
> selectwindow_0.0.23-0ubuntu1_all.deb,
> selectwindow-gtk__0.0.23-0ubuntu1_all.deb,
> selectwindow-gtk3__0.0.23-0ubuntu1_all.deb,
> selectwindow-qt4__0.0.23-0ubuntu1_all.deb,
> selectwindow-qt5__0.0.23-0ubuntu1_all.deb
> I only want to install one of these packages i.e. suitable for Ubuntu
> Xenial. Is it the first? If that's the case, which component should I
> use to achieve this?
The first package is your program. The four others are dummy packages
that just introduce the dependency on each GUI components.
It's up to the user to choose which one to install.
The problem is that there is no way in debian -as far as I know- to tell
that one of the four packages must be installed. You have to make them
all optionals.
Regards,
--
Benoît Minisini
More information about the User
mailing list