带 LGPL 的二维绘图库

2D plotting library with LGPL

在 Qt 应用程序 (C++) 中绘制简单二维图表的最合适选择是什么?给定一组具有与绘图交互的基本能力(缩放、平移、拾取)的点?

类似于 Qt Charts 但具有 LGPL 许可证

Qwt 似乎是一个不错的选择。它使用基本上是 LGPL 的 Qwt 许可证。也可以与 Qt 无缝协作。

http://qwt.sourceforge.net/

我只知道两个 LGPL 选项:

  • Qwt,正如其他发帖者所提到的
  • 使用 Qt WebEngine and then use a HTML charting library like D3. Due to the heavier performance requirements of HTML/JS, this is not an option if you target low-end devices, otherwise it should work fine. You can export data needed by the charts from C++ to JS with Qt WebChannel 将 HTML 页面嵌入到您的 Qt 应用程序中。

还有一些选项是商业许可和 GPL 双重许可,对于闭源项目通常意味着您必须购买许可: