[PyQt] QLibraryInfo and images

Scott Frankel frankel at circlesfx.com
Fri Oct 2 07:04:49 BST 2009


Hi,

Can a qt.conf file be used to specify an images directory using the  
QLibraryInfo.LibraryLocation enum?

I wonder if I'm barking up the right tree.  My app displays images  
that have been compiled as resources (.png, .tif, or .jpg) without  
issue on Fedora and Windows.  But it doesn't display them on OSX.   
(Note that I'm using a qt.conf file in my OSX app bundle to locate a  
plugins dir.)

The enum docs (http://doc.trolltech.com/4.4/qlibraryinfo.html) aren't  
specific about image data and my tests at possible syntax haven't  
yielded any positive results.

Thanks in advance!
Scott












More information about the PyQt mailing list