I went through the QErrorMessage code and didn't find any place to set the window flags.