As my investigations showed, this bug is caused because you have QApplication app(argc, argv) *after* setlocale(LC_NUMERIC, "C"), but QApplication itself sets locale.
So the solution is to use setlocale(LC_NUMERIC, "C") after QApplication app(argc, argv). The patch is attached.
As my investigations showed, this bug is caused because you have QApplication app(argc, argv) *after* setlocale( LC_NUMERIC, "C"), but QApplication itself sets locale.
So the solution is to use setlocale( LC_NUMERIC, "C") after QApplication app(argc, argv). The patch is attached.