nhocjerry
1st October 2013, 11:21
I have a date string in English format as follow "05 May 2013", I used QDate::fromString to create a Date object from this string, but if I run my program in another PC which system locale is Germany the QDate::fromString can not parse the string because QDate::fromString will be localized according to the system's default locale settings.
So how can I set the English locale as default to get the correct date string in any PC with any system's default locale settings?
So how can I set the English locale as default to get the correct date string in any PC with any system's default locale settings?