[英]Plot data by Qt Charts ( qml - QT Creator)
I want to plot data in PySide/qml application (using QT Creator).我想在 PySide/qml 应用程序中使用 plot 数据(使用 QT Creator)。 I found nice Qt Charts module url link
我发现了不错的 Qt 图表模块url 链接
but in componets in Qt Creator can not be found.但在 Qt Creator 的组件中找不到。 So I installed it manually like that:
所以我像这样手动安装它:
pip install PyQt6-Charts PyQt6
then I tried to import QtCharts
in my main.qml
file, but there is still error: QML module not found然后我尝试在我的
main.qml
文件中import QtCharts
,但仍然出现错误:未找到 QML 模块
What I am doing wrong?我做错了什么? Thank you very much.
非常感谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.