Qt5: partial fix for BidiMode inconsistencies in Qt5 widgetset. issue #38319

git-svn-id: trunk@64710 -
This commit is contained in:
zeljko 2021-03-01 12:45:21 +00:00
parent e0f966967e
commit b9e6f1353b

View File

@ -194,6 +194,10 @@ var
begin
WakeMainThread := @OnWakeMainThread;
{issue #38319 - since Qt-4.7 there's no way to set RTL over widgets}
if Application.BidiMode = bdRightToLeft then
QGuiApplication_setLayoutDirection(QtRightToLeft);
{
check whether this hook crashes on linux & darwin and why it is so
we need this hook to catch release messages