• 【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
    ...

    Oh Shit!-图片走丢了-打个广告-欢迎来博客园关注“木三百川”

    • 外部的 changelog.txtGPL.txtqcustomplot.cppqcustomplot.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

    Oh Shit!-图片走丢了-打个广告-欢迎来博客园关注“木三百川”

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

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

    Version 2.1.1 为例,这个压缩包的目录结构如下:

    QCustomPlot-source.tar.gz
    changelog.txt
    GPL.txt
    qcustomplot.cpp
    qcustomplot.h

    Oh Shit!-图片走丢了-打个广告-欢迎来博客园关注“木三百川”

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

  • 相关阅读:
    Java 如何经行异常处理?常见的运行异常的编译时异常
    虹科案例 | 空调故障无冷气,且没有故障码
    蚁群优化算法解决TSP问题(Matlab代码实现)
    【面试题】js 判断数组中是否有某个值
    实现表格的折叠
    Rt-Thread 移植6--多线程(KF32)
    白炽灯护眼还是LED护眼?盘点led护眼灯品牌排行
    CTO不让用Calendar,那用啥?
    [附源码]JAVA毕业设计律师事务所网站(系统+LW)
    MySQL查询性能优化七种武器之链路追踪
  • 原文地址:https://www.cnblogs.com/young520/p/17462234.html