Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu20.04无法移动窗口 #130

Open
YanZhaoNo1 opened this issue Mar 31, 2024 · 1 comment
Open

Ubuntu20.04无法移动窗口 #130

YanZhaoNo1 opened this issue Mar 31, 2024 · 1 comment
Labels

Comments

@YanZhaoNo1
Copy link

我是使用pip3 install comtool 指令下载的,在移动窗口的时候会报一个错误
Traceback (most recent call last):
File "/home/yan/.local/lib/python3.8/site-packages/COMTool/widgets.py", line 265, in eventFilter
self.moveOrResize(obj.windowHandle(), event.pos(), obj.width(), obj.height())
File "/home/yan/.local/lib/python3.8/site-packages/COMTool/widgets.py", line 243, in moveOrResize
window.startSystemMove()
AttributeError: 'QWindow' object has no attribute 'startSystemMove'
不知道i怎么去解决这个问题了

@Neutree
Copy link
Owner

Neutree commented Mar 31, 2024

你安装的 qt版本比较旧 不支持 startSystemMove 这个函数,你可以直接下载 release里面打包好的二进制版本,或者升级一下pyqt5

@Neutree Neutree added the usage label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants