<br><div class="gmail_quote">On Nov 16, 2007 1:10 AM, Phil Thompson <<a href="mailto:phil@riverbankcomputing.co.uk">phil@riverbankcomputing.co.uk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Friday 16 November 2007, Scott Willman wrote:<br>> I'm trying to debug the py2app recipe that handles sip on the mac. From<br>> what I see, it appears to be looking for:<br>><br>> sipconfig.Configuration
(). qt_lib_dir<br>><br>> However, this attribute doesn't appear to exist anymore (that I can find).<br>> If it has indeed changed, is this information stored in another attribute<br>> somewhere else?<br><br>
</div>from PyQt4 import pyqtconfig<br>pyqtconfig.Configuration().qt_lib_dir<br><div class="Ih2E3d"></div></blockquote><div><br>Fixed! When it fully works, I'll see if the author of py2app will update it for the masses.
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>> Also, it's looking for a environment variable called 'DYLD_LIBRARY_PATH'
<br>> that I don't seem to have set. I don't see any other env vars that would<br>> contain what that it seems to be looking for. Can anyone fill in the blanks<br>> here?<br><br></div>It contains the list of additional directories searched by the loader for
<br>shared libraries. Nether SIP nor SIP generated code needs it - but libraries<br>being wrapped by SIP might, depending on where they are installed (but that's<br>a problem for those libraries).<br><br>It sounds like that recipe is for SIP v3.
<br><br>Phil</blockquote><div><br>There must be central place where these paths are listed. One of the elements it cannot find is QtCore.so. While that's easy enough to find, it would still be good to find where it's path is stored so as not to hardcode anything. Any ideas what replaced the DYNLD_LIBRARY_PATH env var?
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>_______________________________________________<br>PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">
PyQt@riverbankcomputing.com</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br>