I want to do some custom processing when the orientation of the phone changes. I reimplemented the resizeEvent virtual function (QResizeEvent *) in my class. It is strange that for the first time when the orientation of the phone changes, this function is actually called and works fine.
But all subsequent orientation changes, this function is not even called? Why is this happening?
Are there other ways to detect phone orientation changes?
Thank.
source
share