A customer of Latvia inputs text in QInputDialog using apostrophe as escape, which he claims is the common method for inputting text there. So apostrophe, followed by "a" should give "ā". According to him, it works in all system dialogs, but not in our input box which uses QInputDialog. According to the documentation, it should default to what is set in the system, also tried QLocale::system ()
Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint | Qt::WindowStaysOnTopHint;
QInputDialog dialog (parent, flags);
dialog.setLocale (QLocale::system ());
...and also explicitly
dialog.setLocale (QLocale::Latvian);
but to no avail. The result is ''a instead. Thanks for any hint!