Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt 5.5, Windows, QtQuick.Dialogs 1.2: Set language of Dialog Buttons independent of locale.



  • Hi, I want the default buttons in the dialogs of my application to have english text no matter what the current locale is. How can I achive this?
    I tried to use

    QLocale::setDefault(QLocale::English);
    

    in my main function but to no avail! Is there any way to do this?


Log in to reply