0

I developed a GUI application using qtcreator and converted to python script using pyuic5.

pyuic5 -x app.ui -o app.py

Then I imported the main ui as

from app import Ui_Rplatform as rp

Then I got error on the import line

from app import Ui_Rplatform as rp

as

pyqt5.qtcore and pyqt4.qtcore modules both wrap the qobject class

What could be the issue?

batuman
  • 7,066
  • 26
  • 107
  • 229
  • what version of pyqt do you use? – Bogdan Oct 26 '18 at 10:43
  • I used qtcreator. I have both pyqt4 and pyqt5 at the time I developed. Then I deleted pyqt4. But the ui application still working even after pyqt4 was deleted. – batuman Oct 27 '18 at 04:41

0 Answers0