python - pyqt import problem -


I have a problem with doing this in Python:

PyQt4 import from QtCore , QtGui DCOPX import from DOCPXX, DCOPE

I received a traceback

  DCOPX import DOCPLLX, DCOPAPF file / URL / Lib / Python-2.5 / Site- Package / dcopext.py ", line 35, & lt; Module & gt; DCOPclient runtime error by DCOP import: QT and PEETT 4. QyTec module both wrap the Q object class  

I tried to change the import, imported the DCPXT later in the file, But no one did the job Thanks for any suggestions.

Edit: I have narrowed down a problem: I am using DCPACE which uses QT3 internally, but I can use it as PyQt4 Want to use

dcopext is part of the module, Python binding for KDE3 Uses x, when you are using PyQt / Qt 4.x

You need to upgrade, which is now continuing as a part of KDE, unless you want to target KDE3, in this case, you need QT and PEAPT (3.x) Older version is required.


Comments