[PyQt] PyQt5 configure, qtdetail can't find QtCore lib?
David Cortesi
davecortesi at gmail.com
Tue Jan 7 23:24:48 GMT 2014
Answering my own question again, I asked why
configure.py created a qdetail.app that expected at runtime to find
/usr/local/Qt-5.2.0/lib/QtCore.framework/Versions/5/QtCore
when Qt was not installed anywhere near /usr/local.
n.b. I verified with otool, that the created
qdetail.app/Contents/MacOS/qdetail
object in fact had the /usr/local file path baked into it.
Answer: I have no bleepin' idea why. However, I created
a directory /usr/local/Qt-5.2.0 and in it, I put a symbolic
link lib --> /Developer/5.2.0/clang_64/lib
and configure could then run.
PyQt5 make is also running happily as I write this.
Perhaps that bogus /usr/local path is being inserted into
all the PyQt5 dylibs? but I suppose as long as the
symlink is there, they'll work.
More information about the PyQt
mailing list