[PyQt] PyQt uic.loadUI not loading icons from theme

Jared Henley jared.henley at gmail.com
Fri May 1 01:16:56 BST 2015


Hi,

I am having trouble loading up icons from a system icon theme.  I'm
creating a ui in Qt Designer and loading it using uic.loadUi().  If I
set a theme icon for a pushbutton, for example, it loads fine into Qt
Designer but fails to appear when the application is run.

System info:
ArchLinux on amd64.
PyQt and Qt: 5.4.1
Python: 3.4.3

It seems that this issue has been around for a while.  I found this
(http://stackoverflow.com/questions/12515571/pyqt4-not-loading-icons-from-ui)
on stack overflow, so checked the pyqt mailing list archives from
September 2012 onward and found nothing.  The stack overflow link
points to a specific bug in PyQt.

Regards,
Jared.


More information about the PyQt mailing list