mirror of https://github.com/KLayout/klayout.git
Using enviornment locale with unit_tests.
This commit is contained in:
parent
e0a23adb66
commit
221d5a4a38
|
|
@ -375,10 +375,11 @@ main_cont (int &argc, char **argv)
|
|||
|
||||
try {
|
||||
|
||||
#if defined(HAVE_QT)
|
||||
pya::PythonInterpreter::initialize ();
|
||||
gsi::initialize_external ();
|
||||
|
||||
#if defined(HAVE_QT)
|
||||
|
||||
// NOTE: we need an application object, but we don't call parse_cmd. This makes the object
|
||||
// behave neutral as far as possible.
|
||||
lay::GuiApplication app (argc, argv);
|
||||
|
|
@ -395,6 +396,9 @@ main_cont (int &argc, char **argv)
|
|||
|
||||
#else
|
||||
|
||||
// select the system locale
|
||||
setlocale (LC_ALL, "");
|
||||
|
||||
// initialize the modules (load their plugins from the paths)
|
||||
db::init ();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue