even the last post is some time ago..

i noticed the same behavior since qt 4.4.3 (and still with 4.5.0 is the same).
my project formerly worked correct. after i compiled with 4.4.3 i got the same problems.

i just found out, that all data fom the sql server which have type "floating point" will be recognized as QString (e.g. "9000.5"). This cannot be converted into integer, but into float or double.
QSqlQuery().data() will return QVariant. QVariant().type() returnes "Qstring". When i cast the values into integer inside my sql-query everythings is correct.
But i cant use integer everywhere..

Doeas the new Qt-versions handle those datatypes different than before? Or is this just a bug? ..or my mistake?

Sorry for my bad english!