Important: Please read the Qt Code of Conduct -

QQuickView flag() and setFlags() doesn't work?

  • How i can hide close/minimize/maximize buttons for QQuickView?

    this code does not work.

    @Qt::WindowFlags flags = this->flags();
    flags &= ~( Qt::WindowMaximizeButtonHint
    | Qt::WindowMinimizeButtonHint
    | Qt::WindowCloseButtonHint);


    in debug output :

    QFlags(0x1) @

    For QDeclarativeView


    and output:


    For QQuickView setFlags() and flags() functions doesn't work. This is a bug?

Log in to reply