[PyQt] Compiling PyQt 4.9.1 with SIP 4.13.3
拉佛 薩
sera-phim at hotmail.com
Mon Jun 25 17:32:53 BST 2012
Hi All,
I'm having a trouble compiling the PyQt 4.9.1 against SIP 4.13.3.I'm getting the following error during the compilation:
PyQt-x11-gpl-4.9.1/sip/phonon/abstractaudiooutput.sip:33:33: error: abstractaudiooutput.h: No such file or directoryPyQt-x11-gpl-4.9.1/sip/phonon/abstractvideooutput.sip:33:33: error: abstractvideooutput.h: No such file or directoryPyQt-x11-gpl-4.9.1/sip/phonon/audiooutput.sip:33:25: error: audiooutput.h: No such file or directoryPyQt-x11-gpl-4.9.1/sip/phonon/backendcapabilities.sip:33:33: error: backendcapabilities.h: No such file or directoryPyQt-x11-gpl-4.9.1/sip/phonon/effect.sip:33:20: error: effect.h: No such file or directoryPyQt-x11-gpl-4.9.1/sip/phonon/abstractaudiooutput.sip:33:33: error: abstractaudiooutput.h: No such file or directoryPyQt-x11-gpl-4.9.1/sip/phonon/abstractvideooutput.sip:33:33: error: abstractvideooutput.h: No such file or directoryPyQt-x11-gpl-4.9.1/sip/phonon/audiooutput.sip:33:25: error: audiooutput.h: No such file or directory...
It seems I need to install the Phonon library so I tried Phonon 4.6.0 and add an include path in the Makefile in the _qt folder.I managed to successfully compile PyQt but I'm getting the following error when importing the module:
ImportError: PyQt4/_qt.so: undefined symbol: _ZNK6Phonon11VideoWidget8snapshotEv
Any idea what I was missing?
My Linux distribution is Scientific Linux 6.2:https://www.scientificlinux.org/news/sl62
Thanks!
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120625/c901f3eb/attachment.html>
More information about the PyQt
mailing list