QMimeDatabase: Error loading internal MIME data An error has been encountered at line 1 of <internal

QMimeDatabase: Error loading internal MIME data
An error has been encountered at line 1 of : Premature end of document.:
Traceback (most recent call last):
File “D:\anaconda\lib\site-packages\libs\canvas.py”, line 530, in paintEvent
p.drawLine(self.prev_point.x(), 0, self.prev_point.x(), self.pixmap.height())
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type ‘float’
drawLine(self, QLine): argument 1 has unexpected type ‘float’
drawLine(self, int, int, int, int): argument 1 has unexpected type ‘float’
drawLine(self, QPoint, QPoint): argument 1 has unexpected type ‘float’
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type ‘float’
这个问题是python 版本太高 不兼容导致 换一个低一点的版本就好了

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
乘风的头像乘风管理团队
上一篇 2023年5月13日
下一篇 2023年5月18日

相关推荐