Unsolved Android QPushButton Style is not correct
-
For QT for Android 5.8, when I first started the compiled android software, the button's style is not correct, and when I quit the software and started again this app the style showed normal. i dont't know why
First open
open again -
the UI
-
i need help.....
-
@HappyLius
if I remember correctly, that is the focus of the QPushbutton that is shown. That means, after the 2nd start, press the button and it should stay with the blue hue.I think I fixed that for me with removing the outline parameter from the stylesheet.
Button->setStyleSheet(QPushButton{outline: none;});
-
@J.Hilk i do as you said,it still show at wrong style
think you. -
@J.Hilk said in Android QPushButton Style is not correct:
start
set the border of the button can solve the problem.
setstyleSheet(border:none;border-radius:0px;)Not only the button ,but also many controls have this problem.
such as QCheckBox. I dont't know how to solve this problem. -
Yes, I'm too faced with this issue (e.g. this happens also when I try to deploy an application from QtC for debugging and so on). As I can say - this is fixed in Qt 5.9.0 (at least it is not reproducable anymore).