I've been trying to use pyinstaller to handle a pyside (think pyqt from Nokia) project. It all works fine on Windows, but on Mac it likes to crash. On investigating, I notice that pyinstaller is adding two version of the QtCore library. It gets QtCore from /opt/local/Frameworks/QtCore.framework/versions/4/QtCore and it also has libqtcore.4.dylib from /opt/local/lib/libqtcore.4.dylib. Then when you run the app it loads both libraries and gets itself highly confused (at least that's what I'm guessing is happening). There is no problem running from the base file system because on the base filesystem, /opt/local/lib/libqtcore.4.dylib is a symlink to QtCore. The reason both are pulled in is that libqtgui.4.dylib depends on QtCore, while libpyside.2.1.1.dylib depends on libqtcore.4.dylib.
My thinking on the solution to this is that pyinstaller needs to handle the symlink and reconstruct it. But that feels like a lot of code for such a small problem. Does anyone have a better idea? TIA, Martin -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To view this discussion on the web visit https://groups.google.com/d/msg/pyinstaller/-/AbNAF6R5uOEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
