Qt 设置窗口为活动窗口 this->activateWindow(); 你也应该调用raise()。注意窗口必须是可见的,否则activateWindow()无效。 Published by 风君子 独自遨游何稽首 揭天掀地慰生平 View all posts by 风君子