Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.5.1
-
None
-
arm 2410 + Qt embeded 4.5.1
arm-softfloat-linux-gnu-gcc-3.4.5,
use DQT_QLOCALE_USES_FCVT
Description
I define a property which have is qreal type,just like this:
Q_PROPERTY( qreal opacity READ opacity WRITE setOpacity )
when i call setProperty to set value, it doesn't work right in arm platform
obj.setProperty( "opacity", QVariant( op ) );
obj.setProperty( "opacity", op );
obj.setProperty( "opacity", 0.2 );
I use qDebug to print the infomation, and the argument is 1.575 ,not 0.2