Set QLocal to English, because otherwise the local computer settings will be used (on a German Computer, there will be a commata instead of a point for decimals).
Wrong line endings changed the whole file, only new contribution is in line 224:
QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));