Re: [Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread zeljko
On Sunday 06 December 2009 22:41, Felipe Monteiro de Carvalho wrote: > On Sun, Dec 6, 2009 at 6:49 PM, zeljko wrote: > >> QtWebKit is used (required) by LCL? > > > > Yes > > What is it used for in the LCL? for nothing, but it's in bindings (QWebPage, QNetworkXXX etc) -- _

Re: [Lazarus] Cross Compile for arm-linux

2009-12-06 Thread Paul Nicholls
Hi :) I don't know if it will help, but back in 2007, I started a website: http://fpc4gp2x.eonclash.com/ which allows one to make programs for an arm-linux handheld, the gp2x. It has a freepascal cross-compiler that works under Windows 32, and generates arm-linux binaries :) I know it is ove

Re: [Lazarus] LCLIntf.pas Documentation

2009-12-06 Thread Mattias Gaertner
On Sun, 06 Dec 2009 23:07:33 +0100 Vincent Snijders wrote: > Mattias Gaertner schreef: > > On Thu, 03 Dec 2009 18:54:37 -0500 > > Mehmet Erol Sanliturk wrote: > > > >> [...] > >> Dear Mattias , > >> > >> Would you please also correct the following line > >> > >> > >> LCLIntf Contains constants

Re: [Lazarus] Compiler-Error

2009-12-06 Thread Mattias Gaertner
On Sun, 6 Dec 2009 19:45:31 +0100 Thomas Moritz wrote: > Am Sonntag 06 Dezember 2009 14:12:00 schrieb Martin: > > > >>> Free Pascal Compiler version 2.2.4 [2009/10/14] for x86_64 > > >>> Copyright (c) 1993-2008 by Florian Klaempfl > > >>> Target OS: Linux for x86-64 > > >>> Compiling lazarus.pp

[Lazarus] Status of toolkit for ExtPascal

2009-12-06 Thread Phil Hess
I've added grid design controls for the ExtP Toolkit add-on for ExtPascal. Here are some screenshots: http://web.fastermac.net/~MacPgmr/ExtPascal/ExtPascal_Grid_in_IDE.jpg http://web.fastermac.net/~MacPgmr/ExtPascal/ExtPascal_Grid_at_Runtime.jpg A couple of other screenshots show the MultiSele

Re: [Lazarus] LCLIntf.pas Documentation

2009-12-06 Thread Vincent Snijders
Mattias Gaertner schreef: On Thu, 03 Dec 2009 18:54:37 -0500 Mehmet Erol Sanliturk wrote: [...] Dear Mattias , Would you please also correct the following line LCLIntf Contains constants and type definitions for Delphi compatibility in page http://lazarus-ccr.sourceforge.net/docs/lcl/

Re: [Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread Felipe Monteiro de Carvalho
On Sun, Dec 6, 2009 at 6:49 PM, zeljko wrote: >> QtWebKit is used (required) by LCL? > > Yes What is it used for in the LCL? -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepasc

Re: [Lazarus] THtmlPort

2009-12-06 Thread ik
The assembly language for GIF of returnaddress report an error (I removed it without saving the error message). I did not went over the code (I do not have time :( ), but it really interest me to go over it when I'll have some time. Ido http://ik.homelinux.org/ On Sun, Dec 6, 2009 at 10:51 PM, P

Re: [Lazarus] THtmlPort

2009-12-06 Thread Phil Hess
Ah yes, that's likely true of all Delphi apps since Delphi doesn't yet support 64 bit. I'll add that as a known issue for all widgetsets. Did you get compile errors or what? Did it work with 32 bit compile? Thanks for pointing that out. -Phil - "ik" wrote: > The code was not built for

Re: [Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread zeljko
On Sunday 06 December 2009 15:36, Luiz Americo Pereira Camara wrote: > > Under win32? Yes, winXP SP2 > > > QtCore.dll and QtGui.dll aren't enough. > > You must have QtCore, QtGui, QtNetwork, QtWebKit, mingw10.dll, > > some_libc_.dll (cannot remember exact name now - not on windows), and I > > thi

Re: [Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread zeljko
On Sunday 06 December 2009 18:37, Phil Hess wrote: > I believe that originally only qtcore and qtgui were required for LCL-Qt, > but the list has grown over time. Qt is starting to look like .NET/Mono in > its all-encompassing, everything-but-the-kitchen-sink approach, as well as > in its size (the

Re: [Lazarus] THtmlPort

2009-12-06 Thread ik
The code was not built for Linux 64 bit :( Ido http://ik.homelinux.org/ On Sun, Dec 6, 2009 at 7:43 PM, Phil Hess wrote: > The THtmlPort package is much improved now: > > http://wiki.lazarus.freepascal.org/THtmlPort > > THtmlPort is a package of fairly impressive HTML viewers, supporting > sty

Re: [Lazarus] THtmlPort

2009-12-06 Thread Massimo Fazzolari
Great news! 2009/12/6 Phil Hess > The THtmlPort package is much improved now: > > http://wiki.lazarus.freepascal.org/THtmlPort > > THtmlPort is a package of fairly impressive HTML viewers, supporting > stylesheets and frames - just about everything in HTML except JavaScript. > > I strongly sugge

Re: [Lazarus] Partially disabling DBNav based on a record set value

2009-12-06 Thread JoshyFun
Hello Lazarus-List, Sunday, December 6, 2009, 8:02:47 PM, you wrote: CJ> I somehow need to be able to wrap this into an IF statement something like CJ> If filed x = y then [...] CJ> I am not able to figure out the if statment. I did know how to work with CJ> the DBNav buttons display. Something

Re: [Lazarus] Partially disabling DBNav based on a record set value

2009-12-06 Thread Chris Jennings
Hi Sorry I'm new to Lazarus and my Delphi experience is way in the past. I have spent the last four years in school studying an unrelated topic. If I code procedure TfrmSubjects.zqrySubjectsAfterScroll(DataSet: TDataSet); begin DBNavigator1.VisibleButtons := [nbFirst,nbPrior,nbNext,nbLast,nb

Re: [Lazarus] DBGrid / DBNavigator not refreshing

2009-12-06 Thread Chris Jennings
Thanks JoshyFun procedure TfrmSubjects.zqrySubjectsAfterPost(DataSet: TDataSet); begin zqrySubjects.Close; zqrySubjects.Open; end; did the trick cj JoshyFun wrote: Hello Lazarus-List, Sunday, December 6, 2009, 7:24:37 PM, you wrote: CJ> I would like to see the DBGrid refresh such that the

Re: [Lazarus] Partially disabling DBNav based on a record set value

2009-12-06 Thread JoshyFun
Hello Lazarus-List, Sunday, December 6, 2009, 7:29:27 PM, you wrote: CJ> I have the following column as part of a mySQL table. CJ> `courses_subject_lock` CHAR(1) NOT NULL DEFAULT 'F' CJ> I would like to modify the state of a DBNav component such that some CJ> aspects of it are disabled based on a

Re: [Lazarus] Compiler-Error

2009-12-06 Thread Thomas Moritz
Am Sonntag 06 Dezember 2009 14:12:00 schrieb Martin: > >>> Free Pascal Compiler version 2.2.4 [2009/10/14] for x86_64 > >>> Copyright (c) 1993-2008 by Florian Klaempfl > >>> Target OS: Linux for x86-64 > >>> Compiling lazarus.pp > >>> staticpackages.inc(2,10) Error: Duplicate identifier > >>> "COD

Re: [Lazarus] DBGrid / DBNavigator not refreshing

2009-12-06 Thread JoshyFun
Hello Lazarus-List, Sunday, December 6, 2009, 7:24:37 PM, you wrote: CJ> I would like to see the DBGrid refresh such that the record followed the CJ> mySQL indexing structure and displayed the new entry in alphabetical CJ> order for one of the fileds. >From my point of view you must post, commit

[Lazarus] Partially disabling DBNav based on a record set value

2009-12-06 Thread Chris Jennings
Hi All I have the following column as part of a mySQL table. `courses_subject_lock` CHAR(1) NOT NULL DEFAULT 'F' I would like to modify the state of a DBNav component such that some aspects of it are disabled based on a record set value. Specifically, I would like to disable only the DELETE

[Lazarus] DBGrid / DBNavigator not refreshing

2009-12-06 Thread Chris Jennings
Hi All When I fill in field values in a series of DBEdits and then click on the Post button of my DBNav the record is inserted in my DB as expected. My problem is that a DBgrid attached to the process does not referesh properley. It does display the addition but does so at the point in the gr

Re: [Lazarus] How to add custom fields to Version Info resource section?

2009-12-06 Thread Phil Hess
Marco, I think if you turn off everything in project options that goes into the resource, you can prevent Lazarus from overwriting your file. That would be version info, icon and manifest. Delphi 2 had the ability to add custom version info keys but that's not supported in Lazarus. Note that

[Lazarus] How to add custom fields to Version Info resource section?

2009-12-06 Thread Marco Alvarado
Hello! I need to add a few custom fields to my application's version info. On Lazarus 0.9.29 beta, I tried doing it with Project > Project Options... > Version Information, but there is no way to add custom fields. Then I tried modifing the .rc file, like: 1 VERSIONINFO FILEVERSION 0,0,0,0 PRODU

[Lazarus] THtmlPort

2009-12-06 Thread Phil Hess
The THtmlPort package is much improved now: http://wiki.lazarus.freepascal.org/THtmlPort THtmlPort is a package of fairly impressive HTML viewers, supporting stylesheets and frames - just about everything in HTML except JavaScript. I strongly suggest using 0.9.29 with this package due to IDE an

Re: [Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread Phil Hess
I believe that originally only qtcore and qtgui were required for LCL-Qt, but the list has grown over time. Qt is starting to look like .NET/Mono in its all-encompassing, everything-but-the-kitchen-sink approach, as well as in its size (the entire Mono framework on OS X is only 200MB). Thanks.

Re: [Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread Luiz Americo Pereira Camara
Phil Hess escreveu: Yes, Webkit is used too, which drags in many of the other Qt libraries. This (webkit support) could be provided as a separate package to minimize LCL-Qt requirements QtGui and QtCore alone do not have any other dependencies on Qt libraries. Most of win32 Qt applica

Re: [Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread Phil Hess
Yes, Webkit is used too, which drags in many of the other Qt libraries. QtGui and QtCore alone do not have any other dependencies on Qt libraries. On Mac, the Qt4 frameworks are about 100MB. For Linux this may not be a problem if Qt comes pre-installed and is used by other apps, but it does seem

Re: [Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread Luiz Americo Pereira Camara
zeljko escreveu: On Sunday 06 December 2009 14:49, Luiz Americo Pereira Camara wrote: Hi, I'm trying to test the Qt Interface under win32. I've got the intf binding (1.72) and QtCore.dll and QtGui.dll version 4.6.0 but i got an error loading the compiled app: Original message (Brazillian)

Re: [Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread zeljko
On Sunday 06 December 2009 14:49, Luiz Americo Pereira Camara wrote: > Hi, > > I'm trying to test the Qt Interface under win32. > > I've got the intf binding (1.72) and QtCore.dll and QtGui.dll version > 4.6.0 but i got an error loading the compiled app: > > Original message (Brazillian) > "Não foi

[Lazarus] Win32 Qt dll version that works with Lazarus

2009-12-06 Thread Luiz Americo Pereira Camara
Hi, I'm trying to test the Qt Interface under win32. I've got the intf binding (1.72) and QtCore.dll and QtGui.dll version 4.6.0 but i got an error loading the compiled app: Original message (Brazillian) "Não foi possível localizar o ponto de entrada do procedimento _ZN7QWidget17setAccessibl

Re: [Lazarus] Cross Compile for arm-linux

2009-12-06 Thread Kjow
2009/12/6 Henry Vermaak : > It's true that fpc does not need any of the gcc tools, but since you > want to use lazarus, you'll need cross compiled libs of the widget set > and libc.  If you use the sdk, you get these for free.  The way you > are going now, you'll eventually need to cross compile th

Re: [Lazarus] Compiler-Error

2009-12-06 Thread Martin
Thomas Moritz wrote: Am Sonntag 06 Dezember 2009 11:30:30 schrieb Mattias Gaertner: On Sun, 6 Dec 2009 11:14:02 +0100 Thomas Moritz wrote: Hello, at last time (since svn-rev.22800), i have this error messages: Free Pascal Compiler version 2.2.4 [2009/10/14] for x86_64 Copyright (c)

Re: [Lazarus] Compiler-Error

2009-12-06 Thread Thomas Moritz
Am Sonntag 06 Dezember 2009 11:30:30 schrieb Mattias Gaertner: > On Sun, 6 Dec 2009 11:14:02 +0100 > > Thomas Moritz wrote: > > Hello, > > at last time (since svn-rev.22800), i have this error messages: > > > > > > Free Pascal Compiler version 2.2.4 [2009/10/14] for x86_64 > > Copyright (c) 1993-

Re: [Lazarus] Cross Compile for arm-linux

2009-12-06 Thread Henry Vermaak
2009/12/6 Kjow : > 2009/12/5 Henry Vermaak : >> I'm still not sure why you are messing around with binutils.  You need >> to build for maemo, so just download the maemo sdk, read the manual, >> then try and cross compile fpc and lazarus.  Relevant links are: >> >> http://www.forum.nokia.com/Tools_D

Re: [Lazarus] Compiler-Error

2009-12-06 Thread Mattias Gaertner
On Sun, 6 Dec 2009 11:14:02 +0100 Thomas Moritz wrote: > Hello, > at last time (since svn-rev.22800), i have this error messages: > > > Free Pascal Compiler version 2.2.4 [2009/10/14] for x86_64 > Copyright (c) 1993-2008 by Florian Klaempfl > Target OS: Linux for x86-64 > Compiling lazarus.pp >

[Lazarus] Compiler-Error

2009-12-06 Thread Thomas Moritz
Hello, at last time (since svn-rev.22800), i have this error messages: Free Pascal Compiler version 2.2.4 [2009/10/14] for x86_64 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Linux for x86-64 Compiling lazarus.pp staticpackages.inc(2,10) Error: Duplicate identifier "CODETOOLS" staticpac