[PyKDE] Almost got PyQt on windows.

Phil Thompson phil at river-bank.demon.co.uk
Thu Jul 5 20:45:23 BST 2001


Erik Weber wrote:
> 
> Dear List,
> 
> I am using QT for Windows 2.3, Python for Windows 2.1, and the PyQt bindings
> that Simon posted earlier.  It almost works, but I get this error on import:
> ----------------------------------------------------------------------------
> --
> Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32
> Type "copyright", "credits" or "license" for more information.
> >>> import qt
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "e:\python21\lib\qt.py", line 1170, in ?
>     libqtc.sipRegisterClasses()
> SystemError: Unable to find class object for QInterlaceStyle
> >>>
> ----------------------------------------------------------------------------
> --
> Any suggestions?

There was a bug in the Windows version of Qt 2.3.0 that was fixed in Qt
2.3.1. PyQt 2.4 breaks on Windows because of this. PyQt 2.5pre versions
are Ok.

Phil




More information about the PyQt mailing list