1

Topic: Static quazip-0.7 mingw53_32

Greetings to everything, I try to collect statically application which uses ziplib and quzip. Ziplib any problems after the assembly it is added in the project: INCLUDEPATH + = C:/Qt/zlib-1.2.11 LIBS + =-LC:/Qt/zlib-1.2.11/libz.a all works. I try to fasten a superstructure quazip-0.7 I collect: c:\Qt\quazip-0.7> C:\Qt\5.9.1\mingw53_32\bin\qmake "CONFIG + = release staticlib" "INCLUDEPATH + = C:/Qt/zlib-1.2.11" "LIBS + =-LC:/Qt/zlib-1.2.11-lz" c:\Qt\quazip-0.7> mingw32-make All gathers, without problems. I add in the project: INCLUDEPATH + = C:/Qt/quazip-0.7/quazip LIBS + = -LC:/Qt/quazip-0.7/quazip/release/libquazip.a I Collect the project I receive here the such: D:\Qt_projects\Task\extractor.cpp:-1: error: undefined reference to `_imp___ZN10JlCompress10extractDirE7QStringS0_ ' collect2.exe:-1: error: error: ld returned 1 exit status In the table of functions there is no this method in what a problem I can not understand in any way, prompt knowing people please in what a problem and how it to solve?

2

Re: Static quazip-0.7 mingw53_32

Hello, _agg: In extractor.cpp is #define QUAZIP_STATIC?

3

Re: Static quazip-0.7 mingw53_32

Hello, Senyai, you wrote: S> In extractor.cpp is #define QUAZIP_STATIC? Delivered in extractor.cpp #define QUAZIP_STATIC the same errors. Tried to deliver in a project file: DEFINES + = QUAZIP_STATIC changed nothing.