can I block the little red cross in the window to prevent the user from closing the window
-
can I block the little red cross in the window to prevent the user from closing the window please ?
@najlou
Try void QWindow::setFlag(Qt::WindowType flag, bool on = true) to remove something like theQt::WindowCloseButtonHintflag from https://doc.qt.io/qt-5/qt.html#WindowType-enum. Read through the docs as there might be other flags you need to try to make it work.