I am using Qt 4.2.2 under Windows and facing a localization issue.
The application I am developing can be translated into several languages, including Arabic, which is RTL. I am able to properly invert the entire application layout (using QApplication::setLayoutDirection(Qt::LayoutDirection direction)) but not the title bar (buttons are always on the right).
Having made the first tests on an English OS, I thought that the title bar was still left-to-right because it was the system's responsibility to handle this part. However, I discovered that the application, when deployed in an Arabic OS, still has the left-to-right title bar direction, contrary to all other applications that were installed.
After having googled for hours I still have not found anything to explain why the title bar still has this wrong orientation. I am wondering if Qt has anything to do with this situation, if it is a known issue or if I shall proceed another way.