【QCustomPlot】下载

打印 上一主题 下一主题

主题 907|帖子 907|积分 2721

说明

使用 QCustomPlot 绘图库辅助开发时整理的学习笔记。同系列文章目录可见 《绘图库 QCustomPlot 学习笔记》目录。本篇介绍 QCustomPlot 的下载。

目录


1. 下载链接

官网为每个版本都提供了三种压缩包下载:

  • QCustomPlot.tar.gz(完整版本):压缩包中包含源码、帮助文档、示例工程。
  • QCustomPlot-sharedlib.tar.gz(动态库版本):压缩包中包含编译动态库的 pro 文件、使用动态库的 pro 文件。
  • QCustomPlot-source.tar.gz(仅源码版本):压缩包中只包含源码。
下载指南:

  • 如果对 QCustomPlot 的用法不了解,最佳选择是下载 QCustomPlot.tar.gz 压缩包,里面不仅有源码,还包含帮助文档以及示例工程。
  • 如果需要以动态库的形式使用 QCustomPlot 绘图库,则应下载 QCustomPlot-sharedlib.tar.gz 以及 QCustomPlot-source.tar.gz 两个压缩包,下载后,在自己电脑上编译出动态库,供进一步使用。
  • 如果有使用基础,仅下载 QCustomPlot-source.tar.gz 压缩包就够了。
官网下载地址:QCustomPlot - Download
网络资源:百度网盘 - QCustomPlot

2. QCustomPlot.tar.gz 压缩包概览

以 Version 2.1.1 为例,这个压缩包的目录概览如下:
  1. QCustomPlot.tar.gz
  2. │  changelog.txt
  3. │  GPL.txt
  4. │  qcustomplot.cpp
  5. │  qcustomplot.h
  6. ├─documentation
  7. │  │  qcustomplot.qch
  8. │  │
  9. │  └─html
  10. │          adaptive-sampling-line.png
  11. │          ...
  12. │          classes.html
  13. │          ...
  14. └─examples
  15.     ├─axis-tags
  16.     │      axis-tags-example.pro
  17.     │      ...
  18.     │
  19.     ├─interactions
  20.     │      interaction-example.pro
  21.     │      ...
  22.     │
  23.     ├─plots
  24.     │      plot-examples.pro
  25.     │      ...
  26.     │
  27.     ├─scrollbar-axis-range-control
  28.     │      scrollbar-axis-range-control.pro
  29.     │      ...
  30.     │
  31.     └─text-document-integration
  32.            text-document-integration.pro
  33.            ...
复制代码


  • 外部的 changelog.txt、GPL.txt、qcustomplot.cpp、qcustomplot.h 这四个文件与 QCustomPlot-source.tar.gz 压缩包中的文件一样,分别为更新日志、开源许可、源码。
  • documentation 文件夹下存有 qch 版的帮助文档(用于集成进 QT 环境)以及 html 版的帮助文档(与 在线帮助文档 排版一样)。
  • examples 文件夹下是一些示例工程,可用 QtCreator 打开后再编译运行,这些示例工程被用来示范怎么使用 QCustomPlot。

3. QCustomPlot-sharedlib.tar.gz 压缩包概览

以 Version 2.1.1 为例,这个压缩包的目录结构如下:
  1. QCustomPlot-sharedlib.tar.gz
  2. │  readme.txt
  3. ├─sharedlib-compilation
  4. │      sharedlib-compilation.pro
  5. └─sharedlib-usage
  6.         main.cpp
  7.         sharedlib-usage.pro
复制代码


  • readme.txt 是一份使用说明,里面写了如何根据压缩包中的 pro 文件编译出 QCustomPlot 动态库,以及如何使用编译出的动态库。
  • sharedlib-compilation 文件夹下只有一个 sharedlib-compilation.pro 工程文件,将它与 qcustomplot.h/.cpp 相结合可以编译出动态库。
  • sharedlib-usage 文件夹下只有 main.cpp 与 sharedlib-usage.pro 两个文件,用来演示如何使用上述编译出的动态库。

4. QCustomPlot-source.tar.gz 压缩包概览

以 Version 2.1.1 为例,这个压缩包的目录结构如下:
  1. QCustomPlot-source.tar.gz
  2.     changelog.txt
  3.     GPL.txt
  4.     qcustomplot.cpp
  5.     qcustomplot.h
复制代码

有 4 个文件,changelog.txt 为更新日志,GPL.txt 为开源许可,qcustomplot.cpp 与 qcustomplot.h 为正常使用时需包含的源码文件。

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

农民

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表