'QML dialog box that won't close

I am using a QML StackView application, and have an instance where I want to create a MessageDialog that can't be rejected by any user input. However, I am unable to remove nor disable the standard 'x' button from the dialog. Is there a way to do this aside from customizing my own Popup?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source