PDA

View Full Version : Zip tools for QT4



Xagen
18th March 2006, 17:10
This archive contains zip support for your app.

in *.pro file write:


HEADERS += zip/zip.h


SOURCES += zip/zip.cpp \
zip/minizip/unzip.c



win32: {
INCLUDEPATH += zip/minizip/win32
LIBS += zip/minizip/win32/libz.a
}

unix: {
LIBS += -lz
}

jamadagni
19th March 2006, 09:46
This archive contains zip support for your app.
The pri file does not mention the unix but only mac. Please add unix too.

Xagen
19th March 2006, 10:22
Don't touch the pri file - it's from previous version for QT3.

I've written in the post what to add to the pro file.

Xagen
19th March 2006, 11:12
The pri file does not mention the unix but only mac. Please add unix too.
I'll fix later! Thanks!