【QCustomPlot】下载
说明使用 QCustomPlot 绘图库辅助开发时整理的学习笔记。同系列文章目录可见 《绘图库 QCustomPlot 学习笔记》目录。本篇介绍 QCustomPlot 的下载。
目录
[*]说明
[*]1. 下载链接
[*]2. QCustomPlot.tar.gz 压缩包概览
[*]3. QCustomPlot-sharedlib.tar.gz 压缩包概览
[*]4. QCustomPlot-source.tar.gz 压缩包概览
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 为例,这个压缩包的目录概览如下:
QCustomPlot.tar.gz
│changelog.txt
│GPL.txt
│qcustomplot.cpp
│qcustomplot.h
│
├─documentation
││qcustomplot.qch
││
│└─html
│ adaptive-sampling-line.png
│ ...
│ classes.html
│ ...
│
└─examples
├─axis-tags
│ axis-tags-example.pro
│ ...
│
├─interactions
│ interaction-example.pro
│ ...
│
├─plots
│ plot-examples.pro
│ ...
│
├─scrollbar-axis-range-control
│ scrollbar-axis-range-control.pro
│ ...
│
└─text-document-integration
text-document-integration.pro
...https://img-blog-young.oss-cn-qingdao.aliyuncs.com/img/202306070037804.png!cnblogs_watermark
[*]外部的 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 为例,这个压缩包的目录结构如下:
QCustomPlot-sharedlib.tar.gz
│readme.txt
│
├─sharedlib-compilation
│ sharedlib-compilation.pro
│
└─sharedlib-usage
main.cpp
sharedlib-usage.prohttps://img-blog-young.oss-cn-qingdao.aliyuncs.com/img/202306070053923.png!cnblogs_watermark
[*]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 为例,这个压缩包的目录结构如下:
QCustomPlot-source.tar.gz
changelog.txt
GPL.txt
qcustomplot.cpp
qcustomplot.hhttps://img-blog-young.oss-cn-qingdao.aliyuncs.com/img/202306070114747.png!cnblogs_watermark
有 4 个文件,changelog.txt 为更新日志,GPL.txt 为开源许可,qcustomplot.cpp 与 qcustomplot.h 为正常使用时需包含的源码文件。
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
页:
[1]