[PyQt] Mystery using cx_freeze on PyQt5 app

David Cortesi davecortesi at gmail.com
Fri Jan 31 20:22:48 GMT 2014


Trying to bundle a working PyQt5 app using cx_freeze. (Mac OS X 10.9,
Qt5.2) It gets an error trying to find libQtCore.dylib when processing
QtCore.so from the PyQt5 package.

Indeed the otool command shows that QtCore.so refers to
libQtCore.dylib, in fact it appears every QtXXX.so in the PyQt5
package has a dependency for a libQtXXX.dylib.

The mystery is, I can't find any such dylib's anywhere on the system.
The app runs from the command line, so clearly the PyQt5 .so's are
finding what they need. But where do they get these mysterious dylib's
that cx_freeze nor I can locate?

Thanks for your help,
Dave Cortesi


More information about the PyQt mailing list