[Qt] New Qt patch TSpinEdit,TFloatSpinEdit ...

zeljko zeljko at holobit.net
Thu May 31 18:33:46 CEST 2007


On Thursday 31 May 2007 18:18, Felipe Monteiro de Carvalho wrote:
> > * Is there any chance to commit latest qt4.pas from Den (with QStyle)
> > added so we can use QStyle drawing utilites (qt-4.2.3) ?
>
> I updated our qt bindings to version 1.30, please test.
>
> > As I said workaround is to set try..except around Setlength(s, Len)
> > inside this routine, and then everything looks fine:
>
> I commited the workaround, but, considering this problem, it may be
> better to simply not use this function.

Than we cannot continue our work on qt4 widgetset. Until better solution this 
one is harmless (I think so). :), and we cannot bypass this function since 
qt4 bindings use it (or yes maybe ..?!? if we use directly QStringH (but not 
yet inside qt4)).

>
>I would be better if fpc provided functions to work with widestrings

fpc have functions like SetString() etc... but raises segfault also... don''t 
know why , but always when trying to setLength() > 1 , while SetLength(s, 1) 
works, and only crashes with qt4 events (textChanged).

cheers,
  zeljko



More information about the Qt mailing list