QtXlsxWriter
QtXlsxWriter copied to clipboard
Linker error
Hi. I'm trying to use your lib with Qt 5.5.1 using the "Usage (2)" technique you detailed with the qtxlsx.pri include project. It compiles fine, but if I attempt to use pretty much any function I get a linker error which seems to be looking for a DLL. I thought from your description this method didn't require one. Any ideas? Thanks. Here's an example of the error: mainwindow.obj:-1: error: LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl QXlsx::Document::Document(class QString const &,class QObject *)" (_imp??0Document@QXlsx@@QEAA@AEBVQString@@PEAVQObject@@@Z) referenced in function "public: void __cdecl MainWindow::fillTree(void)" (?fillTree@MainWindow@@QEAAXXZ)
the same question。 you had solve? thank you,
Looks like you did not link to the QXlsx library, add QT += xls
in your pro file
i use qtcreate complie , i can't find lib file ,just dll and .h file, vs2010 + Qt5, i don't know how to use , th u!