[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] pyqt loading libQtGui.dylib twice on Mac OS X
From:       Martin Zibricky <mzibricky () gmail ! com>
Date:       2011-11-19 22:52:13
Message-ID: 1321743133.2863.11.camel () martin-laptop
[Download RAW message or body]

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?

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic