pyqt5.qtcore和pyqt4.qtcore模块都包装了qobject类

时间:2018-10-26 09:52:17

标签: python pyqt5 pyuic

我使用qtcreator开发了一个GUI应用程序,并使用pyuic5转换为python脚本。

pyuic5 -x app.ui -o app.py

然后我将主用户界面导入为

from app import Ui_Rplatform as rp

然后我在导入行上出错

from app import Ui_Rplatform as rp

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

可能是什么问题?

0 个答案:

没有答案