Hello everyone,

We're developing a UI and since last month we used qt 5.8.0 libraries. Now we upgraded to 5.14.1 and everything seemed fine, until we analyzed the UI with the windows SDK inspect tool.

Turns out that the UI looks fine to the eye, but actually the central widgets positions are shifted down right, according to Windows. That is because buttons and switches work fine, when clicked with the mouse cursor, but the inspect tool says that the position is not what I'm looking at.
I'm blaming something on the QDockWidget because the central part is shifted right about the same width of the QDockWidget.
For the bottom direction shift, probably has something to do with the tab bar (the Status button is the button of a QTab widget which has only one tab) but had no confirmation yet.

The yellow square is the position found by the inspect tool and it should start where the red arrow is pointing, covering all the main interface. The distance between the QDockWidget and the yellow square is the exact width of the QDockWidget (rounded in green)
Capture.jpg

The interface is all coded in C++ and running on Windows 10, compiled using Visual Studio 2017 with the msvc2017 kit. We are not using ui files, sadly.

I've tried removing parents from QDockWidget constructor, removing the DockWidget (and that fixes the right position shift but not the down shift Capture_nodock.jpg) but the DockWidget is necessary. Hiding the QDockWidget title with
Qt Code:
  1. m_pDockLeft->setTitleBarWidget(new QWidget());
To copy to clipboard, switch view to plain text mode 
and the title is hidden but the position of the widget still remains shifted. I'm stuck with this issue and can't figure out what to do or to try, so I'm open to suggestions and/or advice on what to look and what to do.

Thanks in advance and sorry for any lack of informations.