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

2007-06-24 Thread Catalin Zamfir Alexandru
Ok, so how do I do to update my QT/Lazarus for the fix you just made? Oh, and by the way, when using MessageDlg (..., , [mbOK, mbCancel], ...) or any other combination, the buttons don't show, the alert box is as wide as the screen [it should be small, relative to the text as in

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

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Ok, so how do I do to update my QT/Lazarus for the fix you just made? To update you need to use a subversion Lazarus. http://wiki.lazarus.freepascal.org/Getting_Lazarus#Via_SVN Oh, and by the way, when using MessageDlg

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

2007-06-24 Thread Catalin Zamfir Alexandru
Ok. I'll grab a SVN Lazarus and recompile. I'm still using the FPC 2.0.4 and corespondent Lazarus. Updating sure makes wonders ... On Sunday 24 June 2007 09:25, Felipe Monteiro de Carvalho wrote: On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Ok, so how do I do to update my

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

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Ok. I'll grab a SVN Lazarus and recompile. I'm still using the FPC 2.0.4 and corespondent Lazarus. Lazarus and FPC don't make releases at the same time. There is usually more then 1 Lazarus version for each FPC version. -- Felipe

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

2007-06-24 Thread Catalin Zamfir Alexandru
I'm constantly getting this error when trying to compile the SVN Lazarus: /usr/bin/ld: cannot find -lgdk_pixbuf Ideas on how to fix it? What package am I missing? I've searched the .net, no answer ... On Sunday 24 June 2007 11:26, Felipe Monteiro de Carvalho wrote: On 6/24/07,

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

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: /usr/bin/ld: cannot find -lgdk_pixbuf You need libgdk-pixbuf-devel or a package with similar name. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist -

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

2007-06-24 Thread Catalin Zamfir Alexandru
Can't find it in the Gentoo package maintainer. Damn ... On Sunday 24 June 2007 12:55, Felipe Monteiro de Carvalho wrote: libgdk-pixbuf-devel ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

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

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] 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

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

2007-06-24 Thread Catalin Zamfir Alexandru
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

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

2007-06-24 Thread Catalin Zamfir Alexandru
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

Re: [fpc-pascal] Assigning a result of a method reference

2007-06-24 Thread Joao Morais
Michael Van Canneyt wrote: On Sat, 23 Jun 2007, Joao Morais wrote: Michael Van Canneyt wrote: On Sat, 23 Jun 2007, Joao Morais wrote: Result := vmetadatamethod; end; the last assignment doesn't compile, the compiler complains that: Error: Incompatible types: got procedure variable type

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

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: 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: I would say this is the perfect oportunity if

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

2007-06-24 Thread Catalin Zamfir Alexandru
One little question: - how do I read the Qt docs? Do I read the official one and hope that the C/C++ Qt functions have the same name in FPC? Or is there a deposit for this? - do I import the Qt units in FPC to make that program or do I use the Lazarus Source code editor without a form [visual

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

2007-06-24 Thread micahel schneider
Am Sonntag 24 Juni 2007 schrieb Catalin Zamfir Alexandru: Great. I've recompiled KCalculator for Qt and the menu bug is gone. 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

[fpc-pascal] Re: Interesting namespace question

2007-06-24 Thread L
Ido wrote: I saw an interesting bug on C++, and I was wondering how to solve this type of bug in Pascal: {$MODE OBJFPC} program namespace_test; function test : boolean; begin result := true; end; type TTest = class function test : boolean; end; function TTest.test :

[fpc-pascal] Re: Interesting namespace question

2007-06-24 Thread L
A program doesn't have a namespace that one can access, AFAIK (someone care to correct?). Note to self: Actually it does, as mentioned in another email from IK. i.e. program1.test var // initialized record NameSpace: TNameSpace(test: @test); I meant: NameSpace: TNameSpace =

[fpc-pascal] Re: Re: Lua and Freepascal and ARM

2007-06-24 Thread Paul Nicholls
Hi Paul, Hi Jose :-) I can't help you with your problem, but I am curious... thanks anyway, 1)is your ARM system using Linux? yes, 2)for Lua under ARM, are you using dynamic linking or static linking? i'm using dynamic linking but you can use static if you want. For dynamic