Unsolved My app's UI always has a blue frame on mac os, how to avoid it ?
-
My app's UI always has a blue frame on mac os when it get focus,like this:
blue frame
When the username get focus, it has a blue frame.
I know that is the os's setting in General-Appearance-Blue
So what should i to do to avoid this ?
Thanks very much. -
Hi,
What do you mean by avoid ? No focus rectangle ?
-
@SGaist
Thanks, I use setFocusPolicy(), it works, thanks. -
@SGaist
When I use setFocusPolicy(Qt::NoFocus), then my edit cann't get the focus. -
@gavinliu That's what setFocusPolicy(Qt::NoFocus) is supposed to do