I found that the TEdit.OnKeyUp event for Cyrillic characters is not being fired. I use Lazarus 3.0 (rev lazarus_3_0) FPC 3.2.2 x86_64-linux-qt5. Later in the code, I saw such a comment in the QtKeyToLCLKey function:
function TQtWidget.QtKeyToLCLKey(AKey: Integer; AText: WideString;
AEvent: QKeyEventH): Word;
begin
// The big problem here with unicode keys
// Example: for Russian letter A qt returns AKey = $0410 and this is
// absolutely correct: 0400 - 04FF - is russian unicode space and
// 0410 is defined as "CYRILLIC CAPITAL LETTER A"
Is this a known mistake? Are there any workarounds?