mirror of
https://github.com/QtExcel/QXlsx.git
synced 2025-01-16 04:42:53 +08:00
55 lines
1.5 KiB
Markdown
55 lines
1.5 KiB
Markdown
|
|
## How to setup QXlsx project
|
|
|
|
- Here's an easy way to apply QXlsx.
|
|
- Describes when to apply to Windows.
|
|
- The method of applying it on Linux or Mac is similar, and I will write help if there is an additional request.
|
|
|
|
## Step
|
|
|
|
:one: Clone source code from github
|
|
```sh
|
|
git clone https://github.com/j2doll/QXlsx.git
|
|
```
|
|
![](markdown.data/01.jpg)
|
|
|
|
:two: Execute QtCreator
|
|
![](markdown.data/02.jpg)
|
|
* If you don't know use QtCreator, see Qt Company site. [https://www.qt.io/qt-features-libraries-apis-tools-and-ide/](https://www.qt.io/qt-features-libraries-apis-tools-and-ide/)
|
|
|
|
:three: Create your own Qt Project.
|
|
![](markdown.data/03.jpg)
|
|
|
|
:four: Sample is console application.
|
|
![](markdown.data/04.jpg)
|
|
|
|
:five: Set project name. Current project name is HelloQXlsx.
|
|
![](markdown.data/05.jpg)
|
|
|
|
:six: HelloQXlsx project has been created.
|
|
![](markdown.data/06.jpg)
|
|
|
|
:seven: Current directory for project
|
|
![](markdown.data/07.jpg)
|
|
|
|
:eight: Copy QXlsx code to your app project
|
|
![](markdown.data/08.jpg)
|
|
|
|
:nine: Current directories and files for project
|
|
![](markdown.data/09.jpg)
|
|
|
|
:ten: Append code for QXlxs library on your Qt project(*.pro)
|
|
![](markdown.data/10.jpg)
|
|
|
|
:eleven: Set heaer files and namespace for sample. Then append hello world code.
|
|
![](markdown.data/11.jpg)
|
|
|
|
:twelve: Build and Run a project
|
|
![](markdown.data/12.jpg)
|
|
|
|
:thirteen: Execute file and Excel file(xlsx) is created.
|
|
![](markdown.data/13.jpg)
|
|
|
|
## Etc
|
|
* Hi! I'm j2doll. My native language is not English and my English is not fluent. Please understand if I misunderstood the explanation :-)
|