Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2006-11

Qt LCL 64 bits patch

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Giulio Bernardi

Hi,
fpc revision 5421 (and maybe some earlier revisions too) can compile and run lazarus on x86_64 linux.
I tried to run a very simple qt program (only a blank form) but it crashed. Here is a little patch (to be applied from root lazarus dir) that fixes some bugs.

Details:
- Include LCLType in qtobjects, so that Thandle gets redefined as a 64 bit integer instead of a 32 bit one on 64 bit platforms
- Fix a couple of writelns (when verboseqt is defined) in which objects were cast to integer (now they are cast to ptrint).

Bye,
Giulio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lclqt64patch.diff
Type: application/octet-stream
Size: 1155 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20061119/38bcc0d3/attachment.obj>

Giulio Bernardi
to Felipe Monteiro de Carvalho

----- Original Message -----

Earlier message 14 lines
From: "Felipe Monteiro de Carvalho" To: "Items specific to the Qt widget set" Sent: Sunday, November 19, 2006 7:48 PM Subject: Re: [Qt] Qt LCL 64 bits patch > Thanks. Applied. > > Are you already on the contributors list? If not, I will ask to add you. > No, I'm not. bye, Giulio