Registry / other / qt5-charts

qt5-charts

JSON →
library5.15.18vcpkgunverified

Qt Charts module providing easy-to-use chart components for data visualization.

vcpkg install qt5-charts
INSTALL
IMPORT
SIG · QT5-CHARTS
Q
qt5-charts
othercppv5.15.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QtCharts/QChartView
#include <QtCharts/QChartView>

Create a simple line chart

#include <QtCharts/QChartView> #include <QtCharts/QLineSeries> #include <QtWidgets/QApplication> int main(int argc, char *argv[]) { QApplication app(argc, argv); QLineSeries *series = new QLineSeries(); series->append(0, 6); series->append(2, 4); series->append(3, 8); QChart *chart = new QChart(); chart->addSeries(series); QChartView *chartView = new QChartView(chart); chartView->show(); return app.exec(); }
Debug
Known issues
gotchaRequires Qt5 installation and proper CMake configuration with find_package(Qt5 COMPONENTS Charts)
fix
Ensure Qt5 is installed and use find_package(Qt5 REQUIRED COMPONENTS Charts) in CMakeLists.txt
affects: *
Upgrade
Version history
5.15.18latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

qt5-charts — pip install qt5-charts · libregistry