当前位置:网站首页>QT excel table read / write library - qtxlsx
QT excel table read / write library - qtxlsx
2022-06-25 15:07:00 【Knowledge first】

One Project introduction
QtXlsx Is a new one 、 Read 、 write in Excel Document library . It doesn't need it. Microsoft Excel, Can be in Qt5 Used on any supported platform , Cross platform !
The project is MIT Open source license , The restrictions are relatively loose .
Source code download :https://github.com/dbzhang800/QtXlsxWriter
The name of the project is QtXlsxWriter, The original for 2014 It has been developed by the great God since .
Here is the great God blog :https://www.cnblogs.com/swarmbees/
And then there was one QtXlsx Project , The project 2017 Development started in , Some of the code and the above QtXlsxWriter Items overlap .
Open source does not ask the source , Made a comparison , Feeling or QtXlsxWriter It looks better , Simple comparison , This project is also introduced below .
Two catalogue
In the source code , There are three main parts , Source code 、 Example 、 unit testing , As shown in the figure below .
- There are many examples of code , Many engineering projects can even be used directly , It's very convenient .
- There is nothing to say about the source code , This is a hard dish , Need to bite hard , Later, if necessary, you may write a separate blog .
- The test unit is still very important , This is mainly for developers , We can still learn about the unit testing of this project , Learn about its construction 、 The test method 、 Ideas, etc .
Generally, we first look at the sample code , The simplest , Understand how to use the main external interfaces of the library , Then look at the source code and unit tests .
3、 ... and Introduction
The library can be used in two ways ,github The project is described below :
Method 1、 compile 、 Installed as qt Module , Directly in the project pro In file QT += xlsx Way to join the use of , Many more formal third-party libraries can use this method .( This makes the library more official , Or the official , Just not released , If so, I don't know …)
Method 2、 Contains the source code directly pri file , Add the source code as a sub module of the project .
边栏推荐
- 【Try to Hack】vulhub靶场搭建
- Position (5 ways)
- 移除区间(贪心)
- System Verilog - function and task
- Biscuit distribution
- Bessie's weight problem [01 backpack]
- Std:: vector minutes
- 【Try to Hack】vulnhub DC1
- Power automatic test system nsat-8000, accurate, high-speed and reliable power test equipment
- [deep learning] multi task learning of multiple datasets data sets missing labels
猜你喜欢

In 2022, the score line of Guangdong college entrance examination was released, and several families were happy and several worried

Add the resources directory under test in idea

Build a minimalist gb28181 gatekeeper and gateway server, establish AI reasoning and 3D service scenarios, and then open source code (I)

Review of arrays and pointers triggered by a topic

semget No space left on device

Ideal L9 in the eyes of the post-90s: the simplest product philosophy, creating the most popular products

System Verilog - thread

‘make_ unique’ is not a member of ‘std’

Solution of push code failure in idea

定位position(5种方式)
随机推荐
Usage of pure virtual functions
[Ocean University of China] Data Sharing for retest of initial Examination
Ubuntu 20.04 installing mysql8.0 and modifying the MySQL password
One question per day, a classic simulation question
User defined data type - structure
QT file reading -qfile
Jaspersoft studio adding MySQL database configuration
About the problem of kicad stuck in win10 version, version 6 x
System Verilog - function and task
多张动图怎样合成一张gif?仅需三步快速生成gif动画图片
90 后眼中的理想 L9:最简单的产品哲学,造最猛的爆款 | 指南斟
Is it safe to open an online stock account? Who knows
Using Visual Studio
Function of getinstance() method
Qt: Pro project file
Position (5 ways)
JS select all exercise
basic_ String mind map
Flexible layout (display:flex;) Attribute details
Clipboard tutorial