QXlsx icon indicating copy to clipboard operation
QXlsx copied to clipboard

Dynamic library

Open n-r-w opened this issue 4 years ago • 2 comments

I don't understand why the ability to create dynamic libraries was removed. Now I have to add to "xlsxglobal.h " old code:

#if !defined(QT_STATIC) && !defined(XLSX_NO_LIB) #if defined(QT_BUILD_XLSX_LIB) #define Q_XLSX_EXPORT Q_DECL_EXPORT #else #define Q_XLSX_EXPORT Q_DECL_IMPORT #endif #else #define Q_XLSX_EXPORT #endif

and Q_XLSX_EXPORT to all classes

n-r-w avatar May 02 '20 10:05 n-r-w

Dear @n-r-w

See https://github.com/QtExcel/QXlsx/issues/49 for more information.

Of course, if you want to use a DLL, you can create a new branch or new fork.

Or, you may use QtXlsxWriter.

Because this project is an open source project, you can proceed freely.

j2doll avatar May 02 '20 12:05 j2doll

This works for me - using it 3 years

support shared and static libraries #127

dand-oss avatar Dec 15 '20 22:12 dand-oss