[Qt] Qt4 LCL interface problem in Linux x86_64
Paul Ishenin
webpirat at mail.ru
Sun Jan 13 16:09:24 CET 2008
Ales Katona пишет:
> When compiling with LCL_PLATFORM="qt" I found this error:
>
> qtobject.inc(269,20) Error: Illegal type conversion: "DWord" to
> "TQtObject"
>
> I can typecast the dword to pointer first, but that won't help runtime
> (in fact, causes an access violation) since a DWord cannot hold a
> pointer in 64bit app
Yes, I used QLCLMessageEvent to post release message. Currently
QLCLMessageEvent fields (LParam, WParam and Result) are 32 bit values,
but they should be 32 bit on 32 bit os and 64 bit on 64 bit os. FP has
special types for that: PtrInt and PtrUInt which should be used in
QLCLMessageEvent_getWParam and friends.
Den what do you think?
Best regards,
Paul Ishenin.
More information about the Qt
mailing list