QMessageBox displaying buttons in opposite order
I created a QMessageBox which is having two buttons "Yes" and "No". First Yes button then No button.
When i am running the project by clicking on "Run" then message box is displaying the buttons properly like first "Yes" then "No".
But when i am running same project from command line (Linux Redhat 7.2) , message box buttons are displaying in opposite order like first "No" then "Yes" button.
Kindly suggest how this behaviour can be resolved...
I can only imagine this is to do with https://doc.qt.io/archives/qq/qq19-buttons.html or https://stackoverflow.com/questions/37219153/how-to-change-the-buttons-order-in-qmessagebox
@anuj-nogja Do you start your app in both cases on same Linux distribution? Because the button order can depend on window manager used.
@jsulm Yes ..starting both cases in same Linux distribution.
@anuj-nogja When starting the app from command line - did you deploy it first? Maybe it is using Qt provided by the Linux distribution instead the one you installed (I assume here you installed Qt by yourself?)?