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

Jared Henley jared.henley at gmail.com
Sun May 3 23:37:48 BST 2015


On Fri, 01 May 2015 16:06:58 +0100
Phil Thompson <phil at riverbankcomputing.com> wrote:

> On 01/05/2015 1:16 am, Jared Henley wrote:
> > 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.
> 
> Send me a .ui file that demonstrates the problem.
> 
> Phil

I'm sending an email to you now.


More information about the PyQt mailing list