From 4ba852d2497b0e52deba8cd7c40eb2590b99c024 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Fri, 27 Jul 2012 19:25:29 +0200 Subject: [PATCH] convert zip to shared lib --- zip/src/zip.pro | 56 ----------------------------------------------------- zip/zip.pro | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 56 deletions(-) delete mode 100644 zip/src/zip.pro create mode 100644 zip/zip.pro diff --git a/zip/src/zip.pro b/zip/src/zip.pro deleted file mode 100644 index fb77230..0000000 --- a/zip/src/zip.pro +++ /dev/null @@ -1,56 +0,0 @@ -# Include for ZIP-Library from LinTouch Project -# -# Modified for Magic Smoke by (c) Konrad Rosenbaum, 2007 - -# Based on: -# FILE: libltzip_lib.pro -- -# AUTHOR: Hynek Petrak -# DATE: 9 November 2003 -# -# Copyright (c) 2001-2006 S.W.A.C. GmbH, Germany. -# Copyright (c) 2001-2006 S.W.A.C. Bohemia s.r.o., Czech Republic. -# -# THIS SOFTWARE IS DISTRIBUTED AS IS AND WITHOUT ANY WARRANTY. -# -# This application is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as published -# by the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This application is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this application; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - -TEMPLATE = lib -TARGET = QZip -DESTDIR = .. -CONFIG += release staticlib create_prl -OBJECTS_DIR = .ctmp -MOC_DIR = .ctmp -RCC_DIR = .ctmp -LIBS += -lz - -SOURCES += \ - ioapi.c \ - unzip.c \ - zip.c \ - qtioapi.cpp \ - qunzip.cpp \ - qzip.cpp \ - -HEADERS += \ - ioapi.h \ - unzip.h \ - zip.h \ - qtioapi.h \ - ../include/qunzip.h \ - ../include/qzip.h \ - -INCLUDEPATH += ../include -DEPENDPATH += ../include diff --git a/zip/zip.pro b/zip/zip.pro new file mode 100644 index 0000000..c93073b --- /dev/null +++ b/zip/zip.pro @@ -0,0 +1,58 @@ +# Include for ZIP-Library from LinTouch Project +# +# Modified for Magic Smoke by (c) Konrad Rosenbaum, 2007 + +# Based on: +# FILE: libltzip_lib.pro -- +# AUTHOR: Hynek Petrak +# DATE: 9 November 2003 +# +# Copyright (c) 2001-2006 S.W.A.C. GmbH, Germany. +# Copyright (c) 2001-2006 S.W.A.C. Bohemia s.r.o., Czech Republic. +# +# THIS SOFTWARE IS DISTRIBUTED AS IS AND WITHOUT ANY WARRANTY. +# +# This application is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This application is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this application; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +TEMPLATE = lib +TARGET = QtZipHelper +DESTDIR = src/.. +CONFIG += dll create_prl +OBJECTS_DIR = .ctmp +MOC_DIR = .ctmp +RCC_DIR = .ctmp +LIBS += -lz + +VERSION = 0.3.0 + +SOURCES += \ + src/ioapi.c \ + src/unzip.c \ + src/zip.c \ + src/qtioapi.cpp \ + src/qunzip.cpp \ + src/qzip.cpp \ + +HEADERS += \ + src/ioapi.h \ + src/unzip.h \ + src/zip.h \ + src/qtioapi.h \ + include/qunzip.h \ + include/qzip.h \ + +INCLUDEPATH += include src . +DEPENDPATH += include src . -- 1.7.2.5