Important: Please read the Qt Code of Conduct -

Resizing window issue(Solved)

  • Hi all,

    I have added the below lines to remove the title bar of the application window. It works fine, but now the resizing of the window is not happening. Is there any other way i can access the resizing of the window.

    QQuickWindow* window = qobject_cast<QQuickWindow*>(obj);


    [edit: @ tags added, Eddy. please do so next time ]

  • Hi,

    Thanks Eddy for the correction.

    I fixed the above problem, actually it is my mistake that i didnt explained it properly. Actually i was trying to get resize behaviour for the window and the fix is below,

    @ QQuickWindow* window = qobject_cast<QQuickWindow*>(obj);
    window->setFlags(Qt::Window | Qt::CustomizeWindowHint);


  • thanks for posting your solution back in the forum.

    maybe others can benefit from it.

Log in to reply