Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Window flags not working on QDialog
Qtstarter121 last edited by
I am trying to do this with a QDialog:
dialog->setWindowFlags(dialog->windowFlags() | Qt::WindowCloseButtonHint);
but on Centos7 , the QDialog does not appear with a close button on the top right. What am i missing?
Maybe a silly question but do you have other dialogs that have a close button ? That could likely be related to your Window Manager.
What are you running ?