Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3447

QApplication::layoutDirection() always returns LeftToRight even if the language is a right to left one

    XMLWordPrintable

Details

    Description

      QApplication::layoutDirection() always returns LeftToRight even if the language is a right to left one

      e.g. to reproduce:

      #include <QtGui>

      int main(int argc, char *argv[])
      {
      QApplication app(argc, argv);
      QTextEdit* t= new QTextEdit();
      qDebug() <<" Direction = " << app.layoutDirection(); // should return 1 but always returning 0
      t->show();
      return app.exec();
      }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes