I am utilizing the QStackedWidget to implement the multiview application in QT . On application init I am creating 5 widgets and adding to stack. During execution I am switching to and fro from one widget to other using the setCurrentWidget (I am not destroying the widget as I want to keep their state maintained for next visit).
To my surprise widget starts overlapping each other after few runs. I am not able to get the cause of problem. I searched in the forum and no such issue is reported so may I am doing something wrong.
Is there some one who can guide me to prevent this problem?