Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Arabic string displaying on QLabel and QPushtbuon is different in Qt
Jared Zhou last edited by
There is one Arabic string as: اختبار عرض اللغة العربية في QTE. The displaying on QLabel and QPushButton is different with same interface setText(). See picture below:
Anyone can help on why the displaying behavior is different?
JonB last edited by JonB
I don't know how it works/what you can do about it, but just to say I assume this is to do with RTL reading/display of the Arabic string, and it somehow being detected as containing some non-Arabic characters and (unfortunate) different handling between
QPushButton. I assume if you replace that
QTE.with some Arabic characters they both display the same, correct way.