Qt 如何去除标题栏和边框

2025年03月13日 01:09
有1个网友回答
网友(1):

设置windows的flag就可以了

    this->setWindowFlags(this->windowFlags() | Qt::FramelessWindowHint);