程序编写完毕之后准备运行后发现了: Qt: Session management error: None of the authentication protocols specified are supported 这个问题的根源是当前是以root身份进行登录的,而运行程序需要更换一种角色。退出root 运行应用程序就OK了。。。