I got an issue with a QLineEdit. Even if I set the tab order to start at this line edit, once the screen is loaded the LIne Edit won’t get the focus automatically.
I’ve also tried with this two lines :
this->activateWindow();
this->lineEdit_password->setFocus();
But this has still no effect.
So maybe someone experienced the same issue…
Thanks in advance for your help,
Boris
An other solution is to use a singleShot timer :
The focus will then be set once the application is free.
Boris.