I get errors if I use kde widgets in a form(through PyQt).
I converted the .ui file to .py and then used another .py file to act as a wrapper to provide the main function. When i run the wrapper file, i get errors like:
|
Source code
|
1
2
3
|
File "/home/ani/form1.py", line 36, in __init__
self.kLed2 = KLed(self,"kLed2")
NameError: global name 'KLed' is not defined
|
This happens for KLed. I have tried many kde widgets and still get the similar errors.
I cant install PyKDE( i cant find a version for KDE 3.4.2).
Is PyKDE the issue? or should i do something else?
Help is greatly appreciated.
Thank you.