[PyQt] Encore: PyQt5 dependency on libQtXXX.dylib

David Cortesi davecortesi at gmail.com
Mon Feb 3 15:55:15 GMT 2014


I'll ask again, briefly: Mac OS 10.9.1, PyQt 5.2, Qt 5.2. The
cx_freeze app bundler thinks the various QtXXX.so modules have
dependencies on libQtXXX.dylib, but no such files exist in the system.
Typical otool output:

> $ otool -L ./QtGui.so
> ./QtGui.so:
>    libQtGui.dylib (compatibility version 0.0.0, current version 0.0.0)
>    /usr/local/Qt-5.2.0/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.2.0, current version 5.2.0)
>    /usr/local/Qt-5.2.0/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.2.0, current version 5.2.0)
>    /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
>    /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
>    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 60.0.0)
>    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

The various /usr/local/Qt-5.2.0/* dependencies apparently satisfy all
of QtGui's needs. If true, what ought to tell cx_freeze to not require
libQtGui.dylib? Is it the zeros in the version info?

Thanks for your attention,
Dave Cortesi


More information about the PyQt mailing list