search

Home  >  Q&A  >  body text

Ubuntu下Qt程序,如何显示出权限认证对话框?

ringa_leeringa_lee2871 days ago388

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-21 10:57:34

    This window is the authentication window of PolicyKit. Execute pkexec whoami in the terminal to display this window.

    The developers of Ubuntu tweak also had similar needs: Finally got PolicyKit!

    In addition, there is an introduction to PolicyKit using PolicyKit for identity authentication (Part 1)

    reply
    0
  • Cancelreply