Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to Hide Window flags in qt Quick?
Qt 6.12 LTS is out! See what's new in the release blog

How to Hide Window flags in qt Quick?

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 4.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    absfrm
    wrote on last edited by
    #1

    Hi.
    how can i hide window flags in Qt Quick?

    If You Want You Can!

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      I'm not quite sure what you mean with hide window flags.

      If you are talking about the system menu (minimize, maximize, close) or the window decoration you will have to either use a bit of C++ (QQuickView is a QWindow, which has access to windowFlags) or you use the "desktop components":https://codereview.qt-project.org/p/playground/qtdesktopcomponents, which offer a Window item, which has a windowDecoration flag.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        absfrm
        wrote on last edited by
        #3

        yes,Hide close,minimize and maximize buttons.
        you mean I should use c++ to view my qml file and hide it with C++ code.right?

        @
        setWindowFlags(...);
        @

        If You Want You Can!

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Yes.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            absfrm
            wrote on last edited by
            #5

            Right
            it's work!
            thanks a lot

            If You Want You Can!

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt
            • Unsolved