[PyQt] pyqt loading libQtGui.dylib twice on Mac OS X
    Martin Zibricky 
    mzibricky at gmail.com
       
    Sat Nov 19 22:52:13 GMT 2011
    
    
  
Jeremy Sanders píše v So 19. 11. 2011 v 16:57 +0000:
> I've had similar problems with pyinstaller, where Qt plugins don't use
> the 
> right Qt library. The otool program is great for fixing which
> libraries a 
> dylib or executable is using. I've attached a script I use for fixing
> which 
> libaries the Qt plugins use, which may fix your problem (change path
> at 
> top).
If I don't do in the code
from PyQt4 import Qt
everything works as expected. Only the module PyQt4.Qt seems doing this
for libQtGui.dylib.
Is there a way how I could override where PyQt4 is looking for Qt
libraries? Another way than using DYLD_LIBRARY_PATH?
    
    
More information about the PyQt
mailing list