diff --git a/HowToSetProject.md b/HowToSetProject.md new file mode 100644 index 0000000..9004086 --- /dev/null +++ b/HowToSetProject.md @@ -0,0 +1,54 @@ + +## 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 + +* 1. Clone source code from github +```sh +git clone https://github.com/j2doll/QXlsx.git +``` +![](markdown.data/01.png) + +* 2. Execute QtCreator +![](markdown.data/02.png) + * 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/) + +* 3. Create your own Qt Project. +![](markdown.data/03.png) + +* 4. Sample is console application. +![](markdown.data/04.png) + +* 5. Set project name. Current project name is HelloQXlsx. +![](markdown.data/05.png) + +* 6. HelloQXlsx project has been created. +![](markdown.data/06.png) + +* 7. Current directory for project +![](markdown.data/07.png) + +* 8. Copy QXlsx code to your app project +![](markdown.data/08.png) + +* 9. Current directories and files for project +![](markdown.data/09.png) + +* 10. Append code for QXlxs library on your Qt project(*.pro) +![](markdown.data/10.png) + +* 11. Set heaer files and namespace for sample. Then append hello world code. +![](markdown.data/11.png) + +* 12. Build and Run a project +![](markdown.data/12.png) + +* 13. Execute file and Excel file(xlsx) is created. +![](markdown.data/12.png) + +## Etc +* Hi! I'm j2doll. My native language is not English and my English is not fluent. Please understand if I misunderstood the explanation :-) diff --git a/README.md b/README.md index 8f82ede..e971036 100644 --- a/README.md +++ b/README.md @@ -45,41 +45,7 @@ else ``` ## How to build -* :one: Install Qt 5 from [Qt Company](https://www.qt.io) (2017-) -* :two: Clone github source code -```sh - git clone https://github.com/j2doll/QXlsx.git -``` -* :three: Build QXlsx project (it is main project.) -```sh - cd QXlsx - qmake QXlsx.pro - make debug (you may use 'make release'.) -``` -* :four: Build TestExcel (TestExcel is test project of QXlsx. see test code.) -```sh - cd TestExcel - qmake TestExcel.pro - make -``` -* :five: Run TestExcel -```sh - ./TestExcel -``` -* :pushpin: Include QXlsx.pri and set QXlsx path value for your own qt project. -```qmake -# default relative path (you may not set this value. then default value will be used.) -QXLSX_PARENTPATH=./ -QXLSX_HEADERPATH=./header/ -QXLSX_SOURCEPATH=./source/ - -# abs. directory sample -# QXLSX_PARENTPATH=/hello/world/ -# QXLSX_HEADERPATH=/hello/world/header/ -# QXLSX_SOURCEPATH=/hello/world/source/ - -include(../QXlsx/QXlsx.pri) -``` +* See (How to setup QXlsx project)[HowToSetProject.md] ## Test environment Test Environment is below. diff --git a/markdown.data/01.jpg b/markdown.data/01.jpg new file mode 100644 index 0000000..72f724d Binary files /dev/null and b/markdown.data/01.jpg differ diff --git a/markdown.data/02.jpg b/markdown.data/02.jpg new file mode 100644 index 0000000..07ea95d Binary files /dev/null and b/markdown.data/02.jpg differ diff --git a/markdown.data/03.jpg b/markdown.data/03.jpg new file mode 100644 index 0000000..adb91c8 Binary files /dev/null and b/markdown.data/03.jpg differ diff --git a/markdown.data/04.jpg b/markdown.data/04.jpg new file mode 100644 index 0000000..ac303f3 Binary files /dev/null and b/markdown.data/04.jpg differ diff --git a/markdown.data/05.jpg b/markdown.data/05.jpg new file mode 100644 index 0000000..d319309 Binary files /dev/null and b/markdown.data/05.jpg differ diff --git a/markdown.data/06.jpg b/markdown.data/06.jpg new file mode 100644 index 0000000..e3c316e Binary files /dev/null and b/markdown.data/06.jpg differ diff --git a/markdown.data/07.jpg b/markdown.data/07.jpg new file mode 100644 index 0000000..bcd85aa Binary files /dev/null and b/markdown.data/07.jpg differ diff --git a/markdown.data/08.jpg b/markdown.data/08.jpg new file mode 100644 index 0000000..9f1c8ca Binary files /dev/null and b/markdown.data/08.jpg differ diff --git a/markdown.data/09.jpg b/markdown.data/09.jpg new file mode 100644 index 0000000..92b45c9 Binary files /dev/null and b/markdown.data/09.jpg differ diff --git a/markdown.data/10.jpg b/markdown.data/10.jpg new file mode 100644 index 0000000..11ba95a Binary files /dev/null and b/markdown.data/10.jpg differ diff --git a/markdown.data/11.jpg b/markdown.data/11.jpg new file mode 100644 index 0000000..d813b80 Binary files /dev/null and b/markdown.data/11.jpg differ diff --git a/markdown.data/12.jpg b/markdown.data/12.jpg new file mode 100644 index 0000000..0e28c1f Binary files /dev/null and b/markdown.data/12.jpg differ diff --git a/markdown.data/13.jpg b/markdown.data/13.jpg new file mode 100644 index 0000000..14b8b62 Binary files /dev/null and b/markdown.data/13.jpg differ