On Friday 11 Feb 2005 19:35, Pedro Lopez-Cabanillas wrote:
> I'm going to check the implementation of QString.toDouble()

Looks like it just uses strtod(3), at least in the Qt 3.2.1 whose 
sources I have here.

Possibilities that spring to mind:

-- locale is set such that strtod(3) expects ',' for a decimal point 
(but why should it differ between different builds?)

-- s does not contain what it appears to (some encoding thing?): try 
printing out the integer values of the QChars in it, and/or printing 
out s.latin1() and the C chars in that

Some of the other symptoms to do with staff line thicknesses etc that 
you mentioned seem to suggest that other calls to toDouble are also 
breaking, not just this one.


Chris


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to