[PyKDE] latest PyQt & Window flags

Torsten Marek shlomme at gmx.net
Wed Mar 1 08:09:36 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

using the 20060226 snapshots of PyQt and sip, I get errors in connection with
the flags argument of QMainWindow or QDialog. One instance of this problem
exists in examples3/mdi.py:

Traceback (most recent call last):
  File "mdi.py", line 357, in ?
    mw = ApplicationWindow()
  File "mdi.py", line 123, in __init__
    QMainWindow.__init__(self,None,'example application main
window',Qt.WDestructiveClose)
TypeError: argument 3 of QMainWindow() has an invalid type

If the argument is set to 0, the problem remains. Is this a bug or a change in
sip/PyQt?

best regards

Torsten
- --
Torsten Marek <shlomme at gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEBVa/fMVFHqJEyFgRAuyDAKCZLBHaWNjrSwsa7D3tRut4W3ZzPACeOXmk
LDOwNxb6NFDCj1o6zjOjnuY=
=Ubfg
-----END PGP SIGNATURE-----




More information about the PyQt mailing list