Annoying painting problem when the app starts
I'm using QMainwindow as the main widget and all my layouts are set to auto expand.
When the app starts android paints it wrong (looks like landscape paint on portrait screen).
After i rotate the screen its painting it just fine....
-The problematic one on start
-The good one after i rotated the screen twice (to get back to portrait)
I tried manually to force a resizeEvent but nothing worked!
Perhaps you could rotate your window in it's class's constructor, before it gets even created (and painted). (If you don't subclass QMainWindow for your app, this is a reason to do so.)
How can i manually force window rotation?
I tried to use resize as a work around and it didnt work.