[PyQt] sip: QFileIconProvider is undefined

Phil Thompson phil at riverbankcomputing.com
Wed Mar 10 23:03:00 GMT 2010


On Wed, 10 Mar 2010 16:31:28 -0500, Josh <jknox at irobot.com> wrote:
> Josh wrote:
>> Hi,
>>
>> I'm trying to build a SIP wrappers for a simple C++ subclass of
>> QGLWidget.
>>
>> I keep running into this error:
>>     sip: QFileIconProvider is undefined
> 
> Well I guess I was on the right path. The problem was the  "-t Qt_4_6_1" 
> in the SIP command.  Despite the fact that I am using Qt4.6.1, by 
> instead specifying "-t Qt_4_6_0", I got past the "sip: QFileIconProvider 
> is undefined" error and it actually generated a Makefile.
> 
> Is that a bug?

No. The value identifies a version of the Qt API, not the specific version
of Qt.

Phil


More information about the PyQt mailing list