Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How set international Date format presentation in Qt-embedded arm?
Kaijun last edited by
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?