[Qt] TQtWidget

Den Jean Den.Jean at telenet.be
Thu Jul 12 22:06:00 CEST 2007


On Wednesday 11 July 2007 07:08:26 pm zeljko wrote:
>   I cannot work without my bindings patch (QWidgetHack) , even on FC7.
>   When I click X button it closes the window, doesn't matter about assigned
>   OnCloseQuery(). Your test binary works ok, but same source compiled on my
> shiny new FC7 not. ?!?

We should find problems and not circumvent it. Reading the posts
I see problems in LCL. But I also suspect problems in binding.
I just discovered on older distro, that Mainwindow demo (FontDialog) does not 
work with Qt 4.3.0,
but it does work with Qt 4.2.3. 

Even if I compile the binding code of 4.2.3 against 4.3.0, it still doesn't 
work with the same c++ code. 

I checked the pascal resulting code (compile w/o removing assemblers, both are 
the same,but with Qt 4.3.0 the FontDialog causes AV on Mandriva 2006). 
On Mandriva 2007.1 everything is fine.

I searched alot but still did not find anything. If you have problems, revert 
to Qt 4.2.3 (Felipe will like this :-), ahum smells like circum...)
I uploaded latest stuff for both Qts. (Added QtPpoint function for demo)

Felipe can you check Darwin and Points, it really should not be wrong anymore.
The demo code of mainwindow was wrong. The poly was array of TPoint instead of 
TQtPoint. Please check again.

regards,

Den Jean

 




More information about the Qt mailing list