I am currently using 4.7.1. I used widgetAreaResize signal and in the corresponding slot I am using QApplication::desktop()->availableGeometry() to get available width and height. However I am still not getting correct geometry in case of portriat mode, that is, when I rotate phone from Landscape to portriat mode only width is getting properly updated. I am getting incorrect values for height. Its working in case of landscape mode. The problem is only with portrait mode. I am wondering whether am I missing something here. Can anyone have any idea.

Thanks.