Important: Please read the Qt Code of Conduct -

How set international Date format presentation in Qt-embedded arm?

  • If I set Chinese language environment in linux, I can display Chinese date format in Qt QML using following
    var date = new Date;
    mydate = Qt.formatDate(date, "yyyy MMMM dd dddd");

    Now I cross-compiled it for arm platform. I want to use Qt embedded in console rather than Qt-X11 in X window, and run application -qws. As a result, the date is still in English format. How can I get date displayed in locale format in a non-X11 environment?

Log in to reply