Qt with muParser
Unsolved
General and Desktop
-
Hello, I am using Qt 6.2 and try to use muParser library. I would like to pass the decimal separator from QLocale() to muParser. The only way I managed to do it (due to wchar_t need by muParser) is:
parser.SetDecSep(QLocale().decimalPoint().toStdWString().front());
I would appreciate if you can confirm it is a good way to do it or if there is better approach! Thanks in advance.