Sorry.
Wrong place to post, and the problem was me.
I used wrong params to call addSubWindow() to the MdiArea.
The problems showed up now because the app was not recompiled for a while so I thought it was the Qt upgrade.
Shame on me, sorry.