不应该使用: this->showFullScreen(); 或 this->showMaximized();而应该使用: this->setGeometry(QApplication::desktop()->availableGeometry()); 相关文章: