Important: Please read the Qt Code of Conduct -

QWebView as child widget. Page position problem.

  • Hello,

    I'm trying to add a QWebView, on top of another QWebView as a child widget:

    @ QRect geometry(x, y, height, width);
    QWebViewer * subWindow = new QWebViewer(this);

    The new child widget is placed as expected. However, everytime I load
    a website, the upper left corner of the page changes position like this:

    "Image here":

    The initial position of the child viewer is correct, but after multiple loads,
    the window ends up looking like that.

    I wonder if anyone has come across this issue, and hopefully had found
    a way to fix it.

    Thank you,


  • I updated the libraries and the problem was gone.

Log in to reply