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 版本太高 不兼容导致 换一个低一点的版本就好了文章来源地址https://www.toymoban.com/news/detail-459570.html
文章来源:https://www.toymoban.com/news/detail-459570.html
到了这里,关于QMimeDatabase: Error loading internal MIME data An error has been encountered at line 1 of <internal的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!