Qt 6.5.3 Qml Dialog not showing close "X" button on header.
-
wrote on 28 Dec 2023, 10:28 last edited by Parvathy2020
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.
Is there any solution to get the "X" button back ?Please provide a solution.
1/1