Set numeric locale to C for proper tesseract-orc-* packages work on linux.
This commit is contained in:
parent
45d7f76890
commit
e00b244050
7
main.cpp
7
main.cpp
@ -1,3 +1,7 @@
|
||||
#ifdef Q_OS_LINUX
|
||||
# include <locale.h>
|
||||
#endif
|
||||
|
||||
#include <QApplication>
|
||||
#include <QTranslator>
|
||||
|
||||
@ -11,6 +15,9 @@ int main (int argc, char *argv[]) {
|
||||
if (a.sendMessage (QString ())) {
|
||||
return 0;
|
||||
}
|
||||
#ifdef Q_OS_LINUX
|
||||
setlocale (LC_NUMERIC, "C");
|
||||
#endif
|
||||
a.setQuitOnLastWindowClosed (false);
|
||||
a.setApplicationName (settings_values::appName);
|
||||
a.setOrganizationName (settings_values::companyName);
|
||||
|
Loading…
Reference in New Issue
Block a user