Did you ADD FramelessWindowHint to your previous code, or did you use FramelessWindowHint INSTEAD the Qt::CustomizeWindowHint?