[Lazarus] QtObjectFromWidgetH: QObject_property returned a variant which is not TQtWidget.
zeljko
zeljko at holobit.net
Sun Apr 5 16:13:55 CEST 2015
On 04/05/2015 04:02 PM, zeljko wrote:
> On 04/05/2015 02:57 PM, Juha Manninen wrote:
>> On Sunday, April 5, 2015, FreeMan <freeman35 at delphiturkiye.com
>> <mailto:freeman35 at delphiturkiye.com>> wrote:
>>
>> "QtObjectFromWidgetH: QObject_property returned a variant which is
>> not TQtWidget."
>> press OK to....................
>>
>>
>> Good to know somebody else can also reproduce this. Zeljko cannot
>> reproduce.
>> We both have 64-bit systems while Zeljko has a 32-bit system. Maybe that
>> makes the difference.
>
> I cannot reproduce it on 64bit Fedora 19 too, but I'm still using
> fpc-2.6.4.Freeman is using 3.xx and probably you, so that can make
> difference. Anyway, I didn't try to close debugger windows, just using
> lazarus and my apps.
Cannot reproduce with fixes_3_0 + lazarus trunk too, qt-4.8.6, Fedora
19 64bit, KDE.
For you and freeman: pls. before raising exception add
IsValidHandle(HWND(Obj)) and check result. That could be destroyed
handle inside event.
zeljko
More information about the Lazarus
mailing list