Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #472 (closed defect: fixed)

Opened 18 months ago

Last modified 4 weeks ago

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

comment:1 Changed 18 months ago by matysek

  • Keywords macports, osx, pyside, pyqt added; macport removed
  • Priority changed from normal to low
  • Milestone set to PyInstaller 1.6

Thanks for bug report. I also experienced the same issue with PyQt4.

In pyqt4 it is caused only with import like:

from PyQt4 import Qt

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?

comment:2 Changed 16 months ago by htgoebel

  • Component changed from PyInstaller to Platform Mac

comment:3 Changed 14 months ago by matysek

  • Milestone changed from PyInstaller 2.0 to PyInstaller 2.1

comment:4 Changed 4 weeks ago by matysek

  • Status changed from new to closed
  • Resolution set to fixed

I haven't seen similar message for some time. On osx we do not use @executable_path anymore. Let's assume it's it's fixed.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.