Hi,

I use QT 5.0.2 and have a main window that contains several QDockWidgets.
Once the application close, I call

Qt Code:
  1. settings.setValue("windowState", saveState());
  2. settings.setValue("geometry", geometry());
To copy to clipboard, switch view to plain text mode 

And once I open it I call :

Qt Code:
  1. restoreState(settings.value("windowState").toByteArray());
  2. restoreGeometry(settings.value("geometry").toByteArray());
To copy to clipboard, switch view to plain text mode 

But my dock widgets "size" is not correctly restored !

So, does someone has an idea of the problem ? and how to solve it ?

Thanks

BTW : I have take a look on google for a work around... and play with several "possible solution", but no way :-(