Код: Выделить всё
import QtCharts
...
ChartView {
title: "Line Chart"
anchors.fill: parent
antialiasing: true
LineSeries {
name: "Line"
XYPoint {
x: 0
y: 0
}
...
}
}
Код: Выделить всё
/usr/lib/x86_64-linux-gnu/libQt6ChartsQml.so.6
/usr/lib/x86_64-linux-gnu/libQt6Charts.so.6.4.2
/usr/lib/x86_64-linux-gnu/libQt6ChartsQml.so.6.4.2
/usr/lib/x86_64-linux-gnu/libQt6ChartsQml.so
/usr/lib/x86_64-linux-gnu/libQt6Charts.so
Код: Выделить всё
$ qml qml/HardwareTestScreen.qml
QQmlApplicationEngine failed to load component
file:///home/guido/codes/application/qml/HardwareTestScreen.qml:1:1: module "QtCharts" is not installed
qml: Did not load any objects, exiting.
Подробнее здесь: https://stackoverflow.com/questions/791 ... -installed
Мобильная версия