Re: [PyQt] pyqt loading libQtGui.dylib twice on Mac OS X

2011-11-19 Thread Martin Zibricky
Jeremy Sanders píše v So 19. 11. 2011 v 16:57 +: > 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 > liba

Re: [PyQt] pyqt loading libQtGui.dylib twice on Mac OS X

2011-11-19 Thread Jeremy Sanders
Jeremy Sanders wrote: > 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 f

Re: [PyQt] pyqt loading libQtGui.dylib twice on Mac OS X

2011-11-19 Thread Jeremy Sanders
Martin Zibricky wrote: > Hi, > > I'm working on PyInstaller (www.pyinstaller.org) and recently for Mac > platform we switched from using LD_LIBRARY_PATH to use > @executable_path. > > However, the side effect is that frozen PyQt app won't run if macports > is installed. > > If I don't use code

[PyQt] pyqt loading libQtGui.dylib twice on Mac OS X

2011-11-19 Thread Martin Zibricky
Hi, I'm working on PyInstaller (www.pyinstaller.org) and recently for Mac platform we switched from using LD_LIBRARY_PATH to use @executable_path. However, the side effect is that frozen PyQt app won't run if macports is installed. If I don't use code 'from PyQt4 import Qt' everything seems