Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QtCsv

English

QtCsv is a simple and easy-to-use library for reading and writing CSV files with Qt. It provides convenient APIs to handle CSV data in Qt applications.

Features

  • Read and write CSV files easily
  • Integrate with Qt data structures
  • Lightweight and header-only

Usage

  1. Add QCsv.hpp and QCsv.cpp to your project.
  2. Include the header in your code:
    #include "QCsv.hpp"
  3. Use the provided classes to read or write CSV files.
  4. see more: Docs

Build

Use CMake to build the project:

mkdir build && cd build
cmake ..
make

License

See LICENSE for details.


中文说明

QtCsv 是一个基于 Qt 的简单易用的 CSV 文件读写库,适用于需要在 Qt 应用中处理 CSV 数据的场景。

特性

  • 简单读写 CSV 文件
  • 与 Qt 数据结构集成
  • 轻量级,头文件实现

用法

  1. QCsv.hppQCsv.cpp 添加到你的项目中。
  2. 在代码中包含头文件:
    #include "QCsv.hpp"
  3. 使用库中提供的类进行 CSV 文件的读写。
  4. 更多内容: 文档

构建

使用 CMake 构建项目:

mkdir build && cd build
cmake ..
make

许可证

详情见 LICENSE

structure

QCsv/
├── QCsv.hpp              # 核心接口(当前的)
├── QCsvAdvanced.hpp     # 高级功能(排序、过滤、统计等)
├── QCsvIO.hpp           # 导入导出扩展(Excel、SQL、JSON等)
├── QCsvFormula.hpp      # 公式和计算功能
├── QCsvUndo.hpp         # 撤销/重做功能