[PyQt] Unable to find file "QtCore/QtCoremod.sip"...
Phil Thompson
phil at riverbankcomputing.com
Sat Dec 12 09:21:07 GMT 2009
On Fri, 11 Dec 2009 14:22:50 -0800, Jamie Riotto <jamie.riotto at gmail.com>
wrote:
> I'm on Windows using Python 2.5, PyQt-win-gpl-4.6.1, sip-4.9.1 and Qt
> 4.5.2.
>
> I have a working graphics primative library that I wrap with SIP. I'd
> like to add Qt
> classes to my library, e.g. QString.
>
> I've added:
> %Import QtCore/QtCoremod.sip
>
> to my sip file, but I get the error:
> sip: Unable to find file "QtCore/QtCoremod.sip"
>
> (I get the same error when I try %import PyQt4/QtCore/QtCoremod.sip)
>
> I see QtCoremod.sip at:
> c:\Python25\sip\PyQt4\QtCore\QtCoremod.sip
>
>
> Any help? Thanks - jamie
Make sure you pass the right -I flags to sip.
Phil
More information about the PyQt
mailing list