[Lazarus] Order of OnCreate and OnActivate in Qt4

zeljko zeljko at holobit.net
Sun Nov 25 18:47:12 CET 2018


On 11/25/2018 04:43 PM, Vojtěch Čihák via lazarus wrote:

> CRASH, because code in OnActivate assumes that FrmContext already exists.
> 
> So, Qt4+Plastique has different order of events than Qt4+QtCurve.
> 
> Unfortunately, I cannot reproduce with simple demo.
> 
> What I'm doing wrong? Do I rely on something that is not guaranteed?

Try to disable usage of QtNativeEventFilter in qtdefines.inc if it's 
enabled.

zeljko


More information about the Lazarus mailing list