Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt 6.5.3 Qml Dialog not showing close "X" button on header.
Forum Updated to NodeBB v4.3 + New Features

Qt 6.5.3 Qml Dialog not showing close "X" button on header.

Scheduled Pinned Locked Moved Unsolved Qt 6
1 Posts 1 Posters 297 Views
  • 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.
  • P Offline
    P Offline
    Parvathy2020
    wrote on 28 Dec 2023, 10:28 last edited by Parvathy2020
    #1

    Hi,

    My qt application is migrated to Qt 6.5.3. And now the qml dialog window is not showing "X" button on the header to close the window. But dialog window closes when we press any where out side the dialog.

    In Qt 6 documentation page it is told to add cancel/close/ok.... buttons using standardButtons: DialogButtonBox.Close .

    I need to show the "X" button on header as shown in below image.

    3b2a0aa8-a4e5-4b5a-874d-96db0822130d-image.png

    Is there any solution to get the "X" button back ?Please provide a solution.

    1 Reply Last reply
    0

    1/1

    28 Dec 2023, 10:28

    • Login

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