2018-06-02 11:35:22 +09:00
## 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.
2018-06-02 11:42:31 +09:00
- * Hi! I'm j2doll. My native language is not English and my English is not fluent. Please understand if I misunderstood the explanation :-)
2018-06-02 11:35:22 +09:00
## Step
2018-06-02 11:39:09 +09:00
:one: Clone source code from github
2018-06-02 11:40:50 +09:00
2018-06-02 11:35:22 +09:00
```sh
git clone https://github.com/j2doll/QXlsx.git
```
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/01.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:39:09 +09:00
:two: Execute QtCreator
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/02.jpg)
2018-06-02 11:40:50 +09:00
* 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/ )
2018-06-02 11:35:22 +09:00
2018-06-02 11:39:09 +09:00
:three: Create your own Qt Project.
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/03.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:39:09 +09:00
:four: Sample is console application.
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/04.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:39:09 +09:00
:five: Set project name. Current project name is HelloQXlsx.
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/05.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:39:09 +09:00
:six: HelloQXlsx project has been created.
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/06.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:39:09 +09:00
:seven: Current directory for project
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/07.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:39:09 +09:00
:eight: Copy QXlsx code to your app project
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/08.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:39:09 +09:00
:nine: Current directories and files for project
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/09.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:42:02 +09:00
10. Append code for QXlxs library on your Qt project(*.pro)
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/10.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:42:02 +09:00
11. Set heaer files and namespace for sample. Then append hello world code.
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/11.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:42:02 +09:00
12. Build and Run a project
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/12.jpg)
2018-06-02 11:35:22 +09:00
2018-06-02 11:42:02 +09:00
13. Execute file and Excel file(xlsx) is created.
2018-06-02 11:40:50 +09:00
2018-06-02 11:39:09 +09:00
![](markdown.data/13.jpg)