diff --git a/cmd/genbindings/config-libraries.go b/cmd/genbindings/config-libraries.go index 944c98c7..d531156a 100644 --- a/cmd/genbindings/config-libraries.go +++ b/cmd/genbindings/config-libraries.go @@ -337,6 +337,20 @@ func ProcessLibraries(clangBin, outDir, extraLibsDir string) { ClangMatchSameHeaderDefinitionOnly, ) + // Qt 6 Charts + // Depends on QtCore/Gui/Widgets + generate( + "qt-restricted-extras/charts6", + []string{ + "/usr/include/x86_64-linux-gnu/qt6/QtCharts", + }, + AllowAllHeaders, + clangBin, + "--std=c++17 "+pkgConfigCflags("Qt6Charts"), + outDir, + ClangMatchSameHeaderDefinitionOnly, + ) + // Qt 6 QScintilla // Depends on QtCore/Gui/Widgets, QPrintSupport generate( diff --git a/qt-restricted-extras/README.md b/qt-restricted-extras/README.md index 507cd104..53e99e92 100644 --- a/qt-restricted-extras/README.md +++ b/qt-restricted-extras/README.md @@ -2,6 +2,7 @@ This directory contains bindings to Qt libraries that use more restrictive licenses than permissive or LGPL. Care should be taken when evaluating these libraries. -|Library|License -|---|--- -|[QScintilla](https://riverbankcomputing.com/software/qscintilla)|GPL/Commercial +|Library|License| +|---|---| +|[QScintilla](https://riverbankcomputing.com/software/qscintilla)|GPL/Commercial| +|[Qt Charts](https://doc.qt.io/qt-6/qtcharts-index.html#licenses)|GPLv3|