Plot data by Qt Charts ( qml – QT Creator)

Question:

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.

Asked By: WITC

||

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.

Answered By: Parisa.H.R
Categories: questions Tags: , , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.