How can I hide/delete the “?” help button on the “title bar” of a Qt Dialog?

// remove question mark from the title bar
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);

Leave a Comment