diff --git a/README.md b/README.md index 0671da8..0ab86ef 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,13 @@ The package contains a **qtxlsx.pri** file that allows you to integrate the comp 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 ## References diff --git a/src/xlsx/doc/src/usage.qdoc b/src/xlsx/doc/src/usage.qdoc index 4306b02..fabbe9b 100644 --- a/src/xlsx/doc/src/usage.qdoc +++ b/src/xlsx/doc/src/usage.qdoc @@ -2,6 +2,13 @@ \page building \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 1. Download the source code from \l {https://github.com/dbzhang800/QtXlsxWriter/archive/master.zip} {github.com}. @@ -66,5 +73,11 @@ include(qtxlsx.pri) \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 */