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

Reply via email to