[Qt] Qt LCL 64 bits patch

Giulio Bernardi ugilio at hotmail.com
Sun Nov 19 00:29:27 CET 2006


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-ide.org/pipermail/qt/attachments/20061119/38bcc0d3/attachment-0001.obj>


More information about the Qt mailing list