[PyKDE] Executing KApplication in Eric debugger
Torsten Marek
shlomme at gmx.net
Wed Feb 2 22:37:39 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dennis Schaaf schrieb:
| Hi,
|
| when I try to run KApplication in Erics debugger mode, the program
| "terminates unexpectedly"
|
| It works however with QApplication programs... any ideas?
|
| dennis
|
| PS here is an example
|
| #!/usr/bin/env python
|
| import sys
| from qt import *
| from kdecore import *
| from kdeui import *
|
| a=KApplication(sys.argv, "Program Name")
| w=QWidget()
| a.setMainWidget(w)
| a.setTopWidget(w)
| w.resize(200,100)
| w.show()
| a.exec_loop()
|
Works ok for me here. Maybe you could include versions of sip/PyQt/PyKDE/eric.
eric 3.6.1
PyQt 3.13
sip 4.1.1
PyKDE 3.11.3
Qt 3.3.3
KDE 3.3.2
greetings
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.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCAVYzfMVFHqJEyFgRArQeAJ4g8AizOGvz6+3jrAu3XX6txi8w1ACeLlB/
mqkKCV1fsaE8051IicF6cls=
=BtTf
-----END PGP SIGNATURE-----
More information about the PyQt
mailing list