Modify ↓
Ticket #472 (closed defect: fixed)
macport & qt
| Reported by: | gulpegaspe@… | Owned by: | matysek |
|---|---|---|---|
| Priority: | low | Milestone: | PyInstaller 2.1 |
| Component: | Platform Mac | Version: | develop |
| Severity: | normal | Keywords: | macports, osx, pyside, pyqt |
| Cc: |
Description
When I freeze a PySide? app, I get the wollowing error:
objc[1202]: Class QCocoaColorPanelDelegate is implemented in both /Users/USER/Documents/pyinstaller/application/dist/application.app/Contents/MacOS/libQtGui.4.dylib and /opt/local/lib/libQtGui.4.dylib. One of the two will be used. Which one is undefined.
The app works on systems without macport installed.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Thanks for bug report. I also experienced the same issue with PyQt4.
In pyqt4 it is caused only with import like:
Other Pyqt modules are ok.
This bug is really interesting and I have no idea how to fix that. It is there since using @executable_path.
I tried different things but nothing helped. It has to be something with the mechanism where PySide? or PyQt4 is looking for Qt4 libraries. There should be a way how to override that.
Do you have any idea how to solve that?