Qt 5.x and OS X 10.6

René J.V. Bertin rjvbertin at gmail.com
Tue Sep 20 14:11:36 PDT 2016


On Tuesday September 20 2016 13:21:16 Ken Cunningham wrote:

> I note this 'platform plugin' issue was all over the 'net when 5.4 came out a while back, so I suspect I'll find some kind of fix eventually... so far moving the libqcocoa.dylib into various places in the app bundle, or setting the DYLD path, hasn't worked, but I have other things to try still.

libqcocoa is loaded dynamically, via dlsym(), so dyld isn't involved. You'd have gotten a different crash report not due to qFatal() if dyld were involved.

> $ otool -L /opt/local/libexec/qt/5.4/clang_64/plugins/platforms/libqcocoa.dylib
> /opt/local/libexec/qt/5.4/clang_64/plugins/platforms/libqcocoa.dylib:
...
> 	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)

This? You can also get the attached little utility to build and see what

%< dlsym /opt/local/libexec/qt/5.4/clang_64/plugins/platforms/libqcocoa.dylib

tells you.

R.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlsym.c.zip
Type: application/zip
Size: 682 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160920/cc8f921c/attachment.zip>


More information about the macports-users mailing list