[PyQt] Bug when running pyqt application as root?

Baz Walter bazwal at ftml.net
Fri Feb 26 21:05:09 GMT 2016


On 26/02/16 20:31, Mart Stecker wrote:
> Hello,
>
> I just created a pyqt4 application using the designer (python 2.7). There
> are several buttons involved and I use the theme-icons eg application-exit.
>
> When running this application as non root all theme-icons are displayed as
> in the designer.When running the application as root or with sudo (Ubuntu)
> the buttons do not show the icons anymore.
>
> This application needs root permission, but without icons the GUI is
> difficult to operate.
>
> I tested this with Debian and Ubuntu (gnome).
>
> Is this a bug in pyqt? Does someone know a solution?
>

Does the root user have an icon theme configured for it?

-- 
Regards
Baz Walter


More information about the PyQt mailing list