This approach is different than how I used to built PyQt4 for Maya, pre-2013. So I haven't tried this particular approach. But it does look like you told PyQt to build against Phonon, yet in the final installation it cannot actually find and link phonon with Maya's Qt. What does the output of this command look like?
otool -L /Applications/Autodesk/maya2015/Maya.app/Contents/ Frameworks/Python.framework/Versions/Current/lib/python2. 7/site-packages/PyQt4/_qt.so On Mon, Jun 15, 2015 at 11:08 AM Ehsan Kiani <[email protected]> wrote: > Thanks for the reply, but here when I change the qcongfig.pri sounds like > the build configuration has included the phonon plugin, isn't? > > #configuration > CONFIG += release def_files_disabled exceptions no_mocdepend stl x86_64 qt > #qt_framework > QT_ARCH = macosx > QT_EDITION = OpenSource > QT_CONFIG += minimal-config small-config medium-config large-config > full-config no-pkg-config dwarf2 phonon phonon-backend accessibility opengl > reduce_exports ipv6 getaddrinfo ipv6ifname getifaddrs png no-freetype > system-zlib nis cups iconv openssl corewlan concurrent xmlpatterns > multimedia audio-backend svg script scripttools declarative release x86_64 > qt #qt_framework > > #versioning > QT_VERSION = 4.8.5 > QT_MAJOR_VERSION = 4 > QT_MINOR_VERSION = 8 > QT_PATCH_VERSION = 5 > > #namespaces > QT_LIBINFIX = > QT_NAMESPACE = > QT_NAMESPACE_MAC_CRC = > > QT_GCC_MAJOR_VERSION = 4 > QT_GCC_MINOR_VERSION = 2 > QT_GCC_PATCH_VERSION = 1 > > > On Sunday, June 14, 2015 at 1:06:09 PM UTC-7, Justin Israel wrote: > >> It looks like you are missing support for the Phonon plugin. It was built >> with references to it but the actual phonon lib isn't linked in. >> >> On Mon, 15 Jun 2015 7:40 AM Ehsan Kiani <[email protected]> wrote: >> >>> Hey folks, >>> >>> I'm trying to build PyQt for Mac and I followed this tutorial here >>> >>> http://around-the-corner.typepad.com/adn/2014/04/building-sip-and-pyqt-for-maya-2015.html >>> >>> But I'm getting this error: >>> >>> from PyQt4 import QtGui >>> >>> # Error: ImportError: file <maya console> line 1: >>> dlopen(/Applications/Autodesk/maya2015/Maya.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/PyQt4/_qt.so, >>> 2): Symbol not found: >>> __ZN6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EE11qt_metacastEPKc >>> Referenced from: >>> /Applications/Autodesk/maya2015/Maya.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/PyQt4/_qt.so >>> Expected in: flat namespace >>> in >>> /Applications/Autodesk/maya2015/Maya.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/PyQt4/_qt.so >>> # >>> >>> Any idea? >>> >>> Thanks, >>> Ehsan >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Python Programming for Autodesk Maya" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/2faf633a-7687-47f1-b8b5-05b14c52ea2a%40googlegroups.com >>> <https://groups.google.com/d/msgid/python_inside_maya/2faf633a-7687-47f1-b8b5-05b14c52ea2a%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/b8b9ca3a-70a8-47fb-91a0-b8d58eef32f4%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/b8b9ca3a-70a8-47fb-91a0-b8d58eef32f4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2FJL_%2BCuAT_tNLrxeOsycAU42cNbB3RFt%3DFVBWroK9wQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
