Plot data by Qt Charts ( qml - QT Creator)

Viewed 54

I want to plot data in PySide/qml application (using QT Creator). I found a nice Qt Charts module url link

but in components in Qt Creator can not be found. 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 an error: QML module not found

What I am doing wrong? Thank you very much.

1 Answers

you should install Qt Framework from here,

then you see this :

enter image description here

In Qt6 be sure that you installed Qt 5 Compatibility Module

enter image description here

then it will work.

Related