Since setDefault works on the current process, that should function correctly. The only thing you can't do is change the locale of other applications.
Try the following:
Qt Code:
myDate.fromString(..., Qt::DefaultLocaleShortDate);To copy to clipboard, switch view to plain text mode
how can you change the locale from a qml application?
Bookmarks