zhiyiYo / PyQt-Fluent-Widgets

A fluent design widgets library based on C++ Qt/PyQt/PySide. Make Qt Great Again.
https://qfluentwidgets.com
GNU General Public License v3.0
5.61k stars 541 forks source link

There might be a typo "NavigationItemPostion" #126

Closed zhang-wenjun closed 1 year ago

zhang-wenjun commented 1 year ago

Hi, I tried to run the demo but got this error: cannot import name 'NavigationItemPosition' from 'qfluentwidgets' I think it's because of the typo NavigationItemPostion (missing "i"). I correct this and run the successfully.

Nice package, btw!

zhiyiYo commented 1 year ago

你用的是 PyQt5 分支的代码吗?这个分支的代码还没打包发布到 pypi 上,可以先试试 master 分支的代码

zhang-wenjun commented 1 year ago

是的,不过改了这个也能跑hhh

zhiyiYo commented 1 year ago

你应该是安了包之后跑的吧?如果直接用 qfluentwidgets 文件夹里面的代码来跑应该不会报错

zhang-wenjun commented 1 year ago

对,是的