【QCustomPlot】下载
说明
使用 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
为例,这个压缩包的目录概览如下:
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 ...
- 外部的
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.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
为例,这个压缩包的目录结构如下:
QCustomPlot-source.tar.gz changelog.txt GPL.txt qcustomplot.cpp qcustomplot.h
有 4
个文件,changelog.txt
为更新日志,GPL.txt
为开源许可,qcustomplot.cpp
与 qcustomplot.h
为正常使用时需包含的源码文件。
本文作者:木三百川
本文链接:https://www.cnblogs.com/young520/p/17462234.html
版权声明:本文系博主原创文章,著作权归作者所有。商业转载请联系作者获得授权,非商业转载请附上出处链接。遵循 署名-非商业性使用-相同方式共享 4.0 国际版 (CC BY-NC-SA 4.0) 版权协议。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步