Find the offending line and substitute QDoubleValidator () with QDoubleValidator (0). This should do.
T.
PS: reading the QT documentation and checking the differences between QT 4.8 and QT 4.6 is hard, isn't it ?
PPS: no, QT 4.6 is not supported. s a consequence there could be more errors and unexpected things.