Browse Source

Documentation: Add a note for macro XLSX_NO_LIB

master
Debao Zhang 11 years ago
parent
commit
f89559eec1
  1. 7
      README.md
  2. 13
      src/xlsx/doc/src/usage.qdoc

7
README.md

@ -74,6 +74,13 @@ The package contains a **qtxlsx.pri** file that allows you to integrate the comp
include(qtxlsx.pri) include(qtxlsx.pri)
``` ```
**Note**: If you do not use qmake, you need to define the following macro manually
```
XLSX_NO_LIB
```
* Then, using Qt Xlsx in your code * Then, using Qt Xlsx in your code
## References ## References

13
src/xlsx/doc/src/usage.qdoc

@ -2,6 +2,13 @@
\page building \page building
\title Qt Xlsx Build \title Qt Xlsx Build
\note QZipWriter and QZipReader which live in gui-private is used in
this library. For linux user, if your Qt is installed through package
manager tools such "apt-get", make sure that you have installed the Qt5
develop package *qtbase5-private-dev* ;
if you Qt is built from source by yourself,
or download from qt-project.org directly, nothing need to do.
\section1 Usage(1): Use Xlsx as Qt5's addon module \section1 Usage(1): Use Xlsx as Qt5's addon module
1. Download the source code from \l {https://github.com/dbzhang800/QtXlsxWriter/archive/master.zip} {github.com}. 1. Download the source code from \l {https://github.com/dbzhang800/QtXlsxWriter/archive/master.zip} {github.com}.
@ -66,5 +73,11 @@
include(qtxlsx.pri) include(qtxlsx.pri)
\endcode \endcode
\note If you do not use qmake, you need to define the following macro manually
\code
XLSX_NO_LIB
\endcode
4. Then, using Qt Xlsx in your code 4. Then, using Qt Xlsx in your code
*/ */

Loading…
Cancel
Save