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

How to expose QLocale data for QML

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • 5.0.0
    • None
    • Documentation
    • None
    • Symbian/windows

      In order to react to locale changes, some coding on Qt side is needed. When Locale data is changed (for example, used changes time separator character in Time and Date Settings) Qt will send a QEvent::LocaleChange event. Simply by listening for this event and updating the data is enough. Link to some initial wiki docs: https://cwiki.nokia.com/Valhalla/UsingQLocaleInQML

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

            docteam Qt Documentation Team
            ilarimikkonen ilari mikkonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes