[fpc-pascal] GTK2 Lazarus Project, but I want QT.

Catalin Zamfir Alexandru catalin.zamfir at theg33ks.com
Sun Jun 24 12:50:34 CEST 2007

Great. I've recompiled KCalculator for Qt and the menu bug is gone. Although, 
we have some more problems, that I'll enumerate here and hope that this 
feedback helps you guys fix them:

1. The menu icons don't show. In GTK2, custom [a.k.a. inserted by me .ico 
files] submenu icons show on every entry, but in the Qt version submenu icons 
don't show at all. Don't know if that's the same with menu icons, but still.

2. The menu is higher than the normal Qt menus in all my KDE/Qt-based 
software. I'm comparing the menu from KMail with the one from Qt-KCalculator 
and KCalculator's menu is higher. The GTK2 Menu keeps the normal proportions 
as all the other apps on my system, due to the fact that I have a 
compatibility engine between GTK and KDE so as to make GTK2 look like QT. But 
that's not the problem. The problem is that generated Lazarus programs based 
on the Qt interface have higher menus [a few pixels more] than what it should 

3. It doesn't respect the Font I use system-wide. I use Tahoma 8 system-wide 
and all my QT-KDE/GTK applications respect this rule, but Qt-KCalculator 
doesn't respect the rule, while GTK-KCalculator respects it.

Any ideas?!

On Sunday 24 June 2007 13:33, Catalin Zamfir Alexandru wrote:
> Perfect. It compiled for GTK1 and that had big menus with big fonts,
> totally inesthetic.
> Anyway, now I have 0.9.23-beta with a SVN Revision: 11365. Is this the
> latest one that you modified with the Qt patch? Hope so ... :).
> On Sunday 24 June 2007 13:32, Felipe Monteiro de Carvalho wrote:
> > On 6/24/07, Catalin Zamfir Alexandru <catalin.zamfir at theg33ks.com> wrote:
> > > Can't find it in the Gentoo package maintainer. Damn ...
> >
> > It is a development package required to build gtk 1 applications. It
> > must be there.
> >
> > If you find the gtk2 development packages but donĀ“t find the gtk1 ones
> > you can build your IDE with Gtk 2. Has some bugs, but works ok until
> > you find the gtk 1 packages.
> >
> > make clean all LCL_PLATFORM=gtk2
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

More information about the fpc-pascal mailing list