Opened 15 years ago

Closed 14 years ago

#20624 closed defect (fixed)

macdeployqt is broken due to change in plugin extension

Reported by: lord@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: qt dylib bundle Cc: clubjuggler@…, sharky@…
Port: qt4-mac

Description

In q4-mac-4.5.2 port there is a mention that it changes plugin extension to .bundle from .dylib used in original QT.

They are indeed bundles but for portability reasons QT uses for them shared lib extension, which is .dylib on mac. So it does not copy plugins into app bundles making the non-portable.

The change breaks qtmacdeploy utility which searches plugins using .dylib extension.

Change History (8)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: clubjuggler@… added
Owner: changed from macports-tickets@… to erickt@…

comment:2 in reply to:  1 ; Changed 15 years ago by morten.sorvig@…

Replying to macsforever2000@…: I could modify macdeployqt to handle .bundle as well, if there are good reasons for keeping the .dylib -> .bundle rename in MacPorts

comment:3 in reply to:  2 Changed 15 years ago by lord@…

Replying to morten.sorvig@…:

Replying to macsforever2000@…: I could modify macdeployqt to handle .bundle as well, if there are good reasons for keeping the .dylib -> .bundle rename in MacPorts

Trolltech might had their reasons to do so. I think what you trying to do is not part of a port but part of QT improvement. If you do want plugins on mac to be called .bundle you better submit patch to QT, so they change it in the main source.

comment:4 Changed 15 years ago by sharky@…

Does anyone have any idea why we rename the plugins extension at all in macports? What are the benefits?

comment:5 Changed 15 years ago by sharky@…

Cc: sharky@… added

Cc Me!

comment:6 Changed 14 years ago by michaelld (Michael Dickens)

Is this issue still relevant as of r72571 with qt4-mac being at 4.7.0?

comment:7 Changed 14 years ago by michaelld (Michael Dickens)

Owner: changed from erickt@… to michaelld@…
Status: newassigned

comment:8 Changed 14 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

Qt 4.7.0 as installed by MacPorts uses .dylib for all libraries and plugins. Hence I'm closing this ticket as fixed; please reopen if it is not fixed for you.

Note: See TracTickets for help on using tickets.