can I block the little red cross in the window to prevent the user from closing the window
Unsolved
General and Desktop
-
@najlou
Try void QWindow::setFlag(Qt::WindowType flag, bool on = true) to remove something like theQt::WindowCloseButtonHint
flag 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.