Fix the build system and adapt for MultiMC use
This commit is contained in:
parent
3434f2dee3
commit
2c40fc85b4
45 changed files with 112 additions and 3924 deletions
129
CMakeLists.txt
129
CMakeLists.txt
|
@ -1,63 +1,82 @@
|
|||
project(QuaZip)
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
# CMP0042: Explicitly acknowledge MACOSX_RPATH
|
||||
# (introduced in CMake 2.8.12, enabled by default in CMake 3.0,
|
||||
# and producing a warning when unset since 3.7.1)
|
||||
cmake_policy(SET CMP0042 NEW)
|
||||
project(MultiMC_quazip)
|
||||
|
||||
option(BUILD_WITH_QT4 "Build QuaZip with Qt4 no matter if Qt5 was found" OFF)
|
||||
#### LIBRARY ####
|
||||
find_package(ZLIB REQUIRED)
|
||||
find_package(Qt5Core REQUIRED)
|
||||
|
||||
if( NOT BUILD_WITH_QT4 )
|
||||
# try Qt5 first, and prefer that if found
|
||||
find_package(Qt5Core QUIET)
|
||||
set(QUAZIP_SRC
|
||||
quazip/crypt.h
|
||||
quazip/ioapi.h
|
||||
quazip/JlCompress.cpp
|
||||
quazip/JlCompress.h
|
||||
quazip/qioapi.cpp
|
||||
quazip/quaadler32.cpp
|
||||
quazip/quaadler32.h
|
||||
quazip/quachecksum32.h
|
||||
quazip/quacrc32.cpp
|
||||
quazip/quacrc32.h
|
||||
quazip/quagzipfile.cpp
|
||||
quazip/quagzipfile.h
|
||||
quazip/quaziodevice.cpp
|
||||
quazip/quaziodevice.h
|
||||
quazip/quazip.cpp
|
||||
quazip/quazip.h
|
||||
quazip/quazip_global.h
|
||||
quazip/quazipdir.cpp
|
||||
quazip/quazipdir.h
|
||||
quazip/quazipfile.cpp
|
||||
quazip/quazipfile.h
|
||||
quazip/quazipfileinfo.cpp
|
||||
quazip/quazipfileinfo.h
|
||||
quazip/quazipnewinfo.cpp
|
||||
quazip/quazipnewinfo.h
|
||||
quazip/unzip.c
|
||||
quazip/unzip.h
|
||||
quazip/zip.c
|
||||
quazip/zip.h
|
||||
)
|
||||
|
||||
if (Qt5_POSITION_INDEPENDENT_CODE)
|
||||
SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
endif()
|
||||
|
||||
if(Qt5Core_FOUND)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(QTCORE_LIBRARIES ${Qt5Core_LIBRARIES})
|
||||
set(QUAZIP_LIB_VERSION_SUFFIX 5)
|
||||
# if there is no QT_ROOT, try to deduce it from Qt QtCore include
|
||||
if("${QT_ROOT}" STREQUAL "")
|
||||
set(QT_ROOT ${QT_QTCORE_INCLUDE_DIR}/../..)
|
||||
endif()
|
||||
include_directories(${Qt5Core_INCLUDE_DIRS})
|
||||
add_library(MultiMC_quazip SHARED ${QUAZIP_SRC})
|
||||
target_include_directories(MultiMC_quazip PUBLIC "quazip" "${CMAKE_CURRENT_BINARY_DIR}" PRIVATE ${ZLIB_INCLUDE_DIRS})
|
||||
target_link_libraries(MultiMC_quazip ${ZLIB_LIBRARIES})
|
||||
target_compile_definitions(MultiMC_quazip PRIVATE "-DQUAZIP_BUILD")
|
||||
set_target_properties(MultiMC_quazip PROPERTIES CXX_VISIBILITY_PRESET hidden VISIBILITY_INLINES_HIDDEN 1)
|
||||
qt5_use_modules(MultiMC_quazip Core)
|
||||
|
||||
macro(qt_wrap_cpp)
|
||||
qt5_wrap_cpp(${ARGN})
|
||||
endmacro()
|
||||
else()
|
||||
set(qt_min_version "4.5.0")
|
||||
find_package(Qt4 REQUIRED)
|
||||
set(QT_USE_QTGUI false)
|
||||
include(${QT_USE_FILE})
|
||||
include_directories(${QT_INCLUDES})
|
||||
set(QTCORE_LIBRARIES ${QT_QTCORE_LIBRARY})
|
||||
#### UNIT TESTS ####
|
||||
find_package(Qt5Network REQUIRED)
|
||||
find_package(Qt5Test REQUIRED)
|
||||
|
||||
macro(qt_wrap_cpp)
|
||||
qt4_wrap_cpp(${ARGN})
|
||||
endmacro()
|
||||
endif()
|
||||
set(QUAZIP_TEST_SRC
|
||||
qztest/qztest.cpp
|
||||
qztest/qztest.h
|
||||
qztest/testjlcompress.cpp
|
||||
qztest/testjlcompress.h
|
||||
qztest/testquachecksum32.cpp
|
||||
qztest/testquachecksum32.h
|
||||
qztest/testquagzipfile.cpp
|
||||
qztest/testquagzipfile.h
|
||||
qztest/testquaziodevice.cpp
|
||||
qztest/testquaziodevice.h
|
||||
qztest/testquazip.cpp
|
||||
qztest/testquazip.h
|
||||
qztest/testquazipdir.cpp
|
||||
qztest/testquazipdir.h
|
||||
qztest/testquazipfile.cpp
|
||||
qztest/testquazipfile.h
|
||||
qztest/testquazipfileinfo.cpp
|
||||
qztest/testquazipfileinfo.h
|
||||
qztest/testquazipnewinfo.cpp
|
||||
qztest/testquazipnewinfo.h
|
||||
)
|
||||
|
||||
# Use system zlib on unix and Qt ZLIB on Windows
|
||||
if(UNIX OR MINGW)
|
||||
find_package(ZLIB REQUIRED)
|
||||
else(UNIX OR MINGW)
|
||||
set(ZLIB_INCLUDE_DIRS "${QT_ROOT}/src/3rdparty/zlib" CACHE STRING "Path to ZLIB headers of Qt")
|
||||
set(ZLIB_LIBRARIES "")
|
||||
if(NOT EXISTS "${ZLIB_INCLUDE_DIRS}/zlib.h")
|
||||
message("Please specify a valid zlib include dir")
|
||||
endif(NOT EXISTS "${ZLIB_INCLUDE_DIRS}/zlib.h")
|
||||
endif(UNIX OR MINGW)
|
||||
|
||||
# All build libraries are moved to this directory
|
||||
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
|
||||
|
||||
set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")
|
||||
set(LIB_DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Library directory name" FORCE)
|
||||
set(QUAZIP_LIB_TARGET_NAME quazip${QUAZIP_LIB_VERSION_SUFFIX} CACHE
|
||||
INTERNAL "Target name of libquazip" FORCE)
|
||||
|
||||
add_subdirectory(quazip)
|
||||
|
||||
install(FILES FindQuaZip.cmake RENAME FindQuaZip${QUAZIP_LIB_VERSION_SUFFIX}.cmake DESTINATION ${CMAKE_ROOT}/Modules)
|
||||
add_executable(MultiMC_quazip_test ${QUAZIP_TEST_SRC})
|
||||
target_link_libraries(MultiMC_quazip_test MultiMC_quazip)
|
||||
qt5_use_modules(MultiMC_quazip_test Network Test)
|
||||
add_test(NAME quazip_testsuite COMMAND MultiMC_quazip_test)
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
# QUAZIP_FOUND - QuaZip library was found
|
||||
# QUAZIP_INCLUDE_DIR - Path to QuaZip include dir
|
||||
# QUAZIP_INCLUDE_DIRS - Path to QuaZip and zlib include dir (combined from QUAZIP_INCLUDE_DIR + ZLIB_INCLUDE_DIR)
|
||||
# QUAZIP_LIBRARIES - List of QuaZip libraries
|
||||
# QUAZIP_ZLIB_INCLUDE_DIR - The include dir of zlib headers
|
||||
|
||||
|
||||
IF (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES)
|
||||
# in cache already
|
||||
SET(QUAZIP_FOUND TRUE)
|
||||
ELSE (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES)
|
||||
IF (Qt5Core_FOUND)
|
||||
set(QUAZIP_LIB_VERSION_SUFFIX 5)
|
||||
ENDIF()
|
||||
IF (WIN32)
|
||||
FIND_PATH(QUAZIP_LIBRARY_DIR
|
||||
WIN32_DEBUG_POSTFIX d
|
||||
NAMES libquazip${QUAZIP_LIB_VERSION_SUFFIX}.dll
|
||||
HINTS "C:/Programme/" "C:/Program Files"
|
||||
PATH_SUFFIXES QuaZip/lib
|
||||
)
|
||||
FIND_LIBRARY(QUAZIP_LIBRARIES NAMES libquazip${QUAZIP_LIB_VERSION_SUFFIX}.dll HINTS ${QUAZIP_LIBRARY_DIR})
|
||||
FIND_PATH(QUAZIP_INCLUDE_DIR NAMES quazip.h HINTS ${QUAZIP_LIBRARY_DIR}/../ PATH_SUFFIXES include/quazip)
|
||||
FIND_PATH(QUAZIP_ZLIB_INCLUDE_DIR NAMES zlib.h)
|
||||
ELSE(WIN32)
|
||||
FIND_PACKAGE(PkgConfig)
|
||||
# pkg_check_modules(PC_QCA2 QUIET qca2)
|
||||
pkg_check_modules(PC_QUAZIP quazip)
|
||||
FIND_LIBRARY(QUAZIP_LIBRARIES
|
||||
WIN32_DEBUG_POSTFIX d
|
||||
NAMES quazip${QUAZIP_LIB_VERSION_SUFFIX}
|
||||
HINTS /usr/lib /usr/lib64
|
||||
)
|
||||
FIND_PATH(QUAZIP_INCLUDE_DIR quazip.h
|
||||
HINTS /usr/include /usr/local/include
|
||||
PATH_SUFFIXES quazip${QUAZIP_LIB_VERSION_SUFFIX}
|
||||
)
|
||||
FIND_PATH(QUAZIP_ZLIB_INCLUDE_DIR zlib.h HINTS /usr/include /usr/local/include)
|
||||
ENDIF (WIN32)
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
SET(QUAZIP_INCLUDE_DIRS ${QUAZIP_INCLUDE_DIR} ${QUAZIP_ZLIB_INCLUDE_DIR})
|
||||
find_package_handle_standard_args(QUAZIP DEFAULT_MSG QUAZIP_LIBRARIES QUAZIP_INCLUDE_DIR QUAZIP_ZLIB_INCLUDE_DIR QUAZIP_INCLUDE_DIRS)
|
||||
ENDIF (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES)
|
70
README.txt
70
README.txt
|
@ -1,70 +0,0 @@
|
|||
QuaZIP is the C++ wrapper for Gilles Vollant's ZIP/UNZIP package
|
||||
(AKA minizip) using Trolltech's Qt library.
|
||||
|
||||
It uses existing ZIP/UNZIP package C code and therefore depends on
|
||||
the zlib library.
|
||||
|
||||
Also, it depends on Qt 4.
|
||||
|
||||
To compile it on UNIX dialect:
|
||||
|
||||
$ cd quazip
|
||||
$ qmake
|
||||
$ make
|
||||
|
||||
You must make sure that:
|
||||
* You have Qt 4 properly and fully installed (including tools and
|
||||
headers, not just library)
|
||||
* "qmake" command runs Qt 4's qmake, not some other version (you'll have
|
||||
to type full path to qmake otherwise).
|
||||
|
||||
To install compiled shared library, just type:
|
||||
|
||||
$ make install
|
||||
|
||||
By default, it installs in /usr/local, but you may change it using
|
||||
|
||||
$ qmake PREFIX=/wherever/you/want/to/install
|
||||
|
||||
You do not have to compile and install QuaZIP to use it. You can just
|
||||
(and sometimes it may be the best way) add QuaZIP's source files to your
|
||||
project and use them.
|
||||
|
||||
See doc/html or, if you do not have a browser, quazip/*.h and
|
||||
quazip/doc/* files for the more detailed documentation.
|
||||
|
||||
For Windows, it's essentially the same, but you may have to adjust
|
||||
settings for different environments.
|
||||
|
||||
If linking statically (either a static lib or just using the source code
|
||||
directly in your project), then QUAZIP_STATIC should be defined. This is
|
||||
done automatically when you build QuaZIP as a static library. However,
|
||||
when _using_ a static lib (or source code, for that matter) you must
|
||||
also define QUAZIP_STATIC in your project (that uses QuaZIP) to tell
|
||||
quazip_global.h that you use a static version because otherwise the
|
||||
compiler wouldn't know that and will mark QuaZIP symbols as dllimported.
|
||||
Linking problems among the lines of “undefined reference” are usually
|
||||
caused by this.
|
||||
|
||||
Copyright notice:
|
||||
|
||||
Copyright (C) 2005-2012 Sergey A. Tachenov
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or (at
|
||||
your option) any later version.
|
||||
|
||||
This program 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 Lesser
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant, see
|
||||
quazip/(un)zip.h files for details, basically it's zlib license.
|
10
includes.pri
10
includes.pri
|
@ -1,10 +0,0 @@
|
|||
OBJECTS_DIR = .obj
|
||||
MOC_DIR = .moc
|
||||
|
||||
unix {
|
||||
isEmpty(PREFIX): PREFIX=/usr/local
|
||||
}
|
||||
|
||||
win32 {
|
||||
isEmpty(PREFIX): warning("PREFIX unspecified, make install won't work")
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
INCLUDEPATH+=$$PWD
|
||||
DEPENDPATH+=$$PWD/quazip
|
||||
include($$PWD/quazip/quazip.pri)
|
|
@ -1,3 +0,0 @@
|
|||
TEMPLATE=subdirs
|
||||
SUBDIRS=quazip qztest
|
||||
qztest.depends = quazip
|
37
quazip.sln
37
quazip.sln
|
@ -1,37 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.40629.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "quazip", "quazip\quazip.vcxproj", "{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qztest", "qztest\qztest.vcxproj", "{7632B767-D089-4F15-8B1E-C4B3F9EBF592}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Debug|x64 = Debug|x64
|
||||
Release|Win32 = Release|Win32
|
||||
Release|x64 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|x64.Build.0 = Debug|x64
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.Build.0 = Release|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|x64.ActiveCfg = Release|x64
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|x64.Build.0 = Release|x64
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Debug|x64.ActiveCfg = Debug|Win32
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|Win32.Build.0 = Release|Win32
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|x64.ActiveCfg = Release|x64
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,31 +0,0 @@
|
|||
# set all include directories for in and out of source builds
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${ZLIB_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
file(GLOB SRCS "*.c" "*.cpp")
|
||||
file(GLOB PUBLIC_HEADERS "*.h")
|
||||
|
||||
# Must be added to enable export macro
|
||||
ADD_DEFINITIONS(-DQUAZIP_BUILD)
|
||||
|
||||
qt_wrap_cpp(MOC_SRCS ${PUBLIC_HEADERS})
|
||||
set(SRCS ${SRCS} ${MOC_SRCS})
|
||||
|
||||
add_library(${QUAZIP_LIB_TARGET_NAME} SHARED ${SRCS})
|
||||
add_library(quazip_static STATIC ${SRCS})
|
||||
|
||||
# Windows uses .lib extension for both static and shared library
|
||||
# *nix systems use different extensions for SHARED and STATIC library and by convention both libraries have the same name
|
||||
if (NOT WIN32)
|
||||
set_target_properties(quazip_static PROPERTIES OUTPUT_NAME quazip${QUAZIP_LIB_VERSION_SUFFIX})
|
||||
endif ()
|
||||
|
||||
set_target_properties(${QUAZIP_LIB_TARGET_NAME} quazip_static PROPERTIES VERSION 1.0.0 SOVERSION 1 DEBUG_POSTFIX d)
|
||||
# Link against ZLIB_LIBRARIES if needed (on Windows this variable is empty)
|
||||
target_link_libraries(${QUAZIP_LIB_TARGET_NAME} quazip_static ${QT_QTMAIN_LIBRARY} ${QTCORE_LIBRARIES} ${ZLIB_LIBRARIES})
|
||||
|
||||
install(FILES ${PUBLIC_HEADERS} DESTINATION include/quazip${QUAZIP_LIB_VERSION_SUFFIX})
|
||||
install(TARGETS ${QUAZIP_LIB_TARGET_NAME} quazip_static LIBRARY DESTINATION ${LIB_DESTINATION} ARCHIVE DESTINATION ${LIB_DESTINATION} RUNTIME DESTINATION ${LIB_DESTINATION})
|
|
@ -1,163 +0,0 @@
|
|||
libquazip.so.0 libquazip0 #MINVER#
|
||||
_Z24qiodevice_open_file_funcPvS_i@Base 0.4.4
|
||||
_Z24qiodevice_read_file_funcPvS_S_m@Base 0.4.4
|
||||
_Z24qiodevice_seek_file_funcPvS_mi@Base 0.4.4
|
||||
_Z24qiodevice_tell_file_funcPvS_@Base 0.4.4
|
||||
_Z25qiodevice_close_file_funcPvS_@Base 0.4.4
|
||||
_Z25qiodevice_error_file_funcPvS_@Base 0.4.4
|
||||
_Z25qiodevice_write_file_funcPvS_PKvm@Base 0.4.4
|
||||
_ZN10JlCompress10extractDirE7QStringS0_@Base 0.4.4
|
||||
_ZN10JlCompress11compressDirE7QStringS0_b@Base 0.4.4
|
||||
_ZN10JlCompress11extractFileE7QStringS0_S0_@Base 0.4.4
|
||||
_ZN10JlCompress11getFileListE7QString@Base 0.4.4
|
||||
_ZN10JlCompress12compressFileE7QStringS0_@Base 0.4.4
|
||||
_ZN10JlCompress12extractFilesE7QString11QStringListS0_@Base 0.4.4
|
||||
_ZN10JlCompress13compressFilesE7QString11QStringList@Base 0.4.4
|
||||
_ZN10QuaAdler325resetEv@Base 0.4.4
|
||||
_ZN10QuaAdler325valueEv@Base 0.4.4
|
||||
_ZN10QuaAdler326updateERK10QByteArray@Base 0.4.4
|
||||
_ZN10QuaAdler329calculateERK10QByteArray@Base 0.4.4
|
||||
_ZN10QuaAdler32C1Ev@Base 0.4.4
|
||||
_ZN10QuaAdler32C2Ev@Base 0.4.4
|
||||
_ZN10QuaZipFile10setZipNameERK7QString@Base 0.4.4
|
||||
_ZN10QuaZipFile11getFileInfoEP14QuaZipFileInfo@Base 0.4.4
|
||||
_ZN10QuaZipFile11setFileNameERK7QStringN6QuaZip15CaseSensitivityE@Base 0.4.4
|
||||
_ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEE@Base 0.4.4
|
||||
_ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEEPiS4_bPKc@Base 0.4.4
|
||||
_ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEERK13QuaZipNewInfoPKcjiibiii@Base 0.4.4
|
||||
_ZN10QuaZipFile5closeEv@Base 0.4.4
|
||||
_ZN10QuaZipFile6setZipEP6QuaZip@Base 0.4.4
|
||||
_ZN10QuaZipFile8readDataEPcx@Base 0.4.4
|
||||
_ZN10QuaZipFile9writeDataEPKcx@Base 0.4.4
|
||||
_ZN10QuaZipFileC1EP6QuaZipP7QObject@Base 0.4.4
|
||||
_ZN10QuaZipFileC1EP7QObject@Base 0.4.4
|
||||
_ZN10QuaZipFileC1ERK7QStringP7QObject@Base 0.4.4
|
||||
_ZN10QuaZipFileC1ERK7QStringS2_N6QuaZip15CaseSensitivityEP7QObject@Base 0.4.4
|
||||
_ZN10QuaZipFileC1Ev@Base 0.4.4
|
||||
_ZN10QuaZipFileC2EP6QuaZipP7QObject@Base 0.4.4
|
||||
_ZN10QuaZipFileC2EP7QObject@Base 0.4.4
|
||||
_ZN10QuaZipFileC2ERK7QStringP7QObject@Base 0.4.4
|
||||
_ZN10QuaZipFileC2ERK7QStringS2_N6QuaZip15CaseSensitivityEP7QObject@Base 0.4.4
|
||||
_ZN10QuaZipFileC2Ev@Base 0.4.4
|
||||
_ZN10QuaZipFileD0Ev@Base 0.4.4
|
||||
_ZN10QuaZipFileD1Ev@Base 0.4.4
|
||||
_ZN10QuaZipFileD2Ev@Base 0.4.4
|
||||
_ZN13QuaZipNewInfo15setFileDateTimeERK7QString@Base 0.4.4
|
||||
_ZN13QuaZipNewInfoC1ERK7QString@Base 0.4.4
|
||||
_ZN13QuaZipNewInfoC1ERK7QStringS2_@Base 0.4.4
|
||||
_ZN13QuaZipNewInfoC2ERK7QString@Base 0.4.4
|
||||
_ZN13QuaZipNewInfoC2ERK7QStringS2_@Base 0.4.4
|
||||
_ZN13QuaZipNewInfoD1Ev@Base 0.4.4
|
||||
_ZN13QuaZipNewInfoD2Ev@Base 0.4.4
|
||||
_ZN14QuaZipFileInfoD1Ev@Base 0.4.4
|
||||
_ZN14QuaZipFileInfoD2Ev@Base 0.4.4
|
||||
_ZN6QuaZip10getUnzFileEv@Base 0.4.4
|
||||
_ZN6QuaZip10getZipFileEv@Base 0.4.4
|
||||
_ZN6QuaZip10setCommentERK7QString@Base 0.4.4
|
||||
_ZN6QuaZip10setZipNameERK7QString@Base 0.4.4
|
||||
_ZN6QuaZip11setIoDeviceEP9QIODevice@Base 0.4.4
|
||||
_ZN6QuaZip12goToNextFileEv@Base 0.4.4
|
||||
_ZN6QuaZip13goToFirstFileEv@Base 0.4.4
|
||||
_ZN6QuaZip14setCurrentFileERK7QStringNS_15CaseSensitivityE@Base 0.4.4
|
||||
_ZN6QuaZip15setCommentCodecEP10QTextCodec@Base 0.4.4
|
||||
_ZN6QuaZip15setCommentCodecEPKc@Base 0.4.4
|
||||
_ZN6QuaZip16setFileNameCodecEP10QTextCodec@Base 0.4.4
|
||||
_ZN6QuaZip16setFileNameCodecEPKc@Base 0.4.4
|
||||
_ZN6QuaZip31setDataDescriptorWritingEnabledEb@Base 0.4.4
|
||||
_ZN6QuaZip4openENS_4ModeEP19zlib_filefunc_def_s@Base 0.4.4
|
||||
_ZN6QuaZip5closeEv@Base 0.4.4
|
||||
_ZN6QuaZipC1EP9QIODevice@Base 0.4.4
|
||||
_ZN6QuaZipC1ERK7QString@Base 0.4.4
|
||||
_ZN6QuaZipC1Ev@Base 0.4.4
|
||||
_ZN6QuaZipC2EP9QIODevice@Base 0.4.4
|
||||
_ZN6QuaZipC2ERK7QString@Base 0.4.4
|
||||
_ZN6QuaZipC2Ev@Base 0.4.4
|
||||
_ZN6QuaZipD1Ev@Base 0.4.4
|
||||
_ZN6QuaZipD2Ev@Base 0.4.4
|
||||
_ZN7QStringD1Ev@Base 0.4.4
|
||||
_ZN7QStringD2Ev@Base 0.4.4
|
||||
_ZN8QuaCrc325resetEv@Base 0.4.4
|
||||
_ZN8QuaCrc325valueEv@Base 0.4.4
|
||||
_ZN8QuaCrc326updateERK10QByteArray@Base 0.4.4
|
||||
_ZN8QuaCrc329calculateERK10QByteArray@Base 0.4.4
|
||||
_ZN8QuaCrc32C1Ev@Base 0.4.4
|
||||
_ZN8QuaCrc32C2Ev@Base 0.4.4
|
||||
_ZNK10QuaZipFile10getZipNameEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile10metaObjectEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile11getFileNameEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile11getZipErrorEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile12isSequentialEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile14bytesAvailableEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile17getActualFileNameEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile18getCaseSensitivityEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile3posEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile4sizeEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile5atEndEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile5csizeEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile5isRawEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile5usizeEv@Base 0.4.4
|
||||
_ZNK10QuaZipFile6getZipEv@Base 0.4.4
|
||||
_ZNK6QuaZip10getCommentEv@Base 0.4.4
|
||||
_ZNK6QuaZip10getZipNameEv@Base 0.4.4
|
||||
_ZNK6QuaZip11getIoDeviceEv@Base 0.4.4
|
||||
_ZNK6QuaZip11getZipErrorEv@Base 0.4.4
|
||||
_ZNK6QuaZip14hasCurrentFileEv@Base 0.4.4
|
||||
_ZNK6QuaZip15getCommentCodecEv@Base 0.4.4
|
||||
_ZNK6QuaZip15getEntriesCountEv@Base 0.4.4
|
||||
_ZNK6QuaZip15getFileInfoListEv@Base 0.4.4
|
||||
_ZNK6QuaZip15getFileNameListEv@Base 0.4.4
|
||||
_ZNK6QuaZip16getFileNameCodecEv@Base 0.4.4
|
||||
_ZNK6QuaZip18getCurrentFileInfoEP14QuaZipFileInfo@Base 0.4.4
|
||||
_ZNK6QuaZip18getCurrentFileNameEv@Base 0.4.4
|
||||
_ZNK6QuaZip30isDataDescriptorWritingEnabledEv@Base 0.4.4
|
||||
_ZNK6QuaZip6isOpenEv@Base 0.4.4
|
||||
_ZNK6QuaZip7getModeEv@Base 0.4.4
|
||||
_ZTI10QuaAdler32@Base 0.4.4
|
||||
_ZTI10QuaZipFile@Base 0.4.4
|
||||
_ZTI13QuaChecksum32@Base 0.4.4
|
||||
_ZTI8QuaCrc32@Base 0.4.4
|
||||
_ZTS10QuaAdler32@Base 0.4.4
|
||||
_ZTS10QuaZipFile@Base 0.4.4
|
||||
_ZTS13QuaChecksum32@Base 0.4.4
|
||||
_ZTS8QuaCrc32@Base 0.4.4
|
||||
_ZTV10QuaAdler32@Base 0.4.4
|
||||
_ZTV10QuaZipFile@Base 0.4.4
|
||||
_ZTV13QuaChecksum32@Base 0.4.4
|
||||
_ZTV8QuaCrc32@Base 0.4.4
|
||||
fill_qiodevice_filefunc@Base 0.4.4
|
||||
unzClose@Base 0.4.4
|
||||
unzCloseCurrentFile@Base 0.4.4
|
||||
unzGetCurrentFileInfo@Base 0.4.4
|
||||
unzGetFilePos@Base 0.4.4
|
||||
unzGetGlobalComment@Base 0.4.4
|
||||
unzGetGlobalInfo@Base 0.4.4
|
||||
unzGetLocalExtrafield@Base 0.4.4
|
||||
unzGetOffset@Base 0.4.4
|
||||
unzGoToFilePos@Base 0.4.4
|
||||
unzGoToFirstFile@Base 0.4.4
|
||||
unzGoToNextFile@Base 0.4.4
|
||||
unzLocateFile@Base 0.4.4
|
||||
unzOpen2@Base 0.4.4
|
||||
unzOpen@Base 0.4.4
|
||||
unzOpenCurrentFile2@Base 0.4.4
|
||||
unzOpenCurrentFile3@Base 0.4.4
|
||||
unzOpenCurrentFile@Base 0.4.4
|
||||
unzOpenCurrentFilePassword@Base 0.4.4
|
||||
unzReadCurrentFile@Base 0.4.4
|
||||
unzSetOffset@Base 0.4.4
|
||||
unzStringFileNameCompare@Base 0.4.4
|
||||
unz_copyright@Base 0.4.4
|
||||
unzeof@Base 0.4.4
|
||||
unztell@Base 0.4.4
|
||||
zipClearFlags@Base 0.4.4
|
||||
zipClose@Base 0.4.4
|
||||
zipCloseFileInZip@Base 0.4.4
|
||||
zipCloseFileInZipRaw@Base 0.4.4
|
||||
zipOpen2@Base 0.4.4
|
||||
zipOpen@Base 0.4.4
|
||||
zipOpenNewFileInZip2@Base 0.4.4
|
||||
zipOpenNewFileInZip3@Base 0.4.4
|
||||
zipOpenNewFileInZip@Base 0.4.4
|
||||
zipSetFlags@Base 0.4.4
|
||||
zipWriteInFileInZip@Base 0.4.4
|
||||
zip_copyright@Base 0.4.4
|
|
@ -1,45 +0,0 @@
|
|||
/**
|
||||
* \page faq QuaZip FAQ
|
||||
*
|
||||
* <!--
|
||||
*
|
||||
* \ref faq-non-QIODevice "Q. Is there any way to use QuaZipFile in Qt where you are supposed to use normal (non-zipped) file, but not through QIODevice API?"
|
||||
* \ref faq-zip64 "Q. Can QuaZIP handle files larger than 4GB? What about zip64 standard?"
|
||||
*
|
||||
* \ref faq-seekable "Q. Can QuaZIP write archives to a sequential QIODevice like QTcpSocket?"
|
||||
*
|
||||
* -->
|
||||
*
|
||||
* \anchor faq-non-QIODevice Q. Is there any way to use QuaZipFile in Qt
|
||||
* where you are supposed to use normal (non-zipped) file, but not
|
||||
* through QIODevice API?
|
||||
*
|
||||
* A. Usually not. For example, if you are passing file name to some
|
||||
* database driver (like SQLite), Qt usually just passes this name down
|
||||
* to the 3rd-party library, which is usually does not know anything
|
||||
* about QIODevice and therefore there is no way to pass QuaZipFile as
|
||||
* normal file. However, if we are talking about some place where you
|
||||
* pass file name, and then indirectly use QFile to open it, then it is
|
||||
* a good idea to make overloaded method, which accepts a QIODevice
|
||||
* pointer. Then you would be able to pass QuaZipFile as well as many
|
||||
* other nice things such as QBuffer or QProcess.
|
||||
*
|
||||
* \anchor faq-zip64 Q. Can QuaZIP handle files larger than 4GB? What
|
||||
* about zip64 standard?
|
||||
*
|
||||
* A. Starting with version 0.6, QuaZIP uses Minizip 1.1 with zip64
|
||||
* support which should handle large files perfectly. The zip64 support
|
||||
* in Minizip looks like it's not 100% conforming to the standard, but
|
||||
* 3rd party tools seem to have no problem with the resulting archives.
|
||||
*
|
||||
* \anchor faq-seekable Q. Can QuaZIP write archives to a sequential QIODevice like QTcpSocket?
|
||||
*
|
||||
* A. Not yet. It is not supported by vanilla Minizip (the back-end
|
||||
* QuaZIP uses), although theoretically possible according to the ZIP
|
||||
* standard. It would require some Minizip modifications that would
|
||||
* allow it to detect non-seekable I/O and produce necessary output
|
||||
* structures. QuaZIP already writes data descriptor which is necessary
|
||||
* for non-seekable I/O. The only thing that is apparently left is to
|
||||
* make Minizip fill local headers with correct values and forget about
|
||||
* seeking after closing the file.
|
||||
**/
|
|
@ -1,177 +0,0 @@
|
|||
/**
|
||||
* \mainpage QuaZIP - Qt/C++ wrapper for ZIP/UNZIP package
|
||||
*
|
||||
\htmlonly
|
||||
<a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=142688&type=7" style="width:210; height:62; border:none; float:right;" alt="Powered by SourceForge.net" /></a>
|
||||
\endhtmlonly
|
||||
* \section overview Overview
|
||||
*
|
||||
* QuaZIP is a simple C++ wrapper over <a
|
||||
* href="http://www.winimage.com/zLibDll/minizip.html">Gilles Vollant's ZIP/UNZIP
|
||||
* package</a> that can be used to access ZIP archives. It uses <a
|
||||
* href="http://qt.digia.com/">the Qt toolkit</a>.
|
||||
*
|
||||
* If you do not know what Qt is, you have two options:
|
||||
* - Just forget about QuaZIP.
|
||||
* - Learn more about Qt by downloading it and/or reading the excellent <a
|
||||
* href="http://qt-project.org/doc/">official Qt documentation</a>
|
||||
*
|
||||
* The choice is yours, but if you are really interested in
|
||||
* cross-platform (Windows/Linux/BSD/UNIX/Mac/Others) software
|
||||
* development, I would definitely recommend you the latter ^_^
|
||||
*
|
||||
* QuaZIP allows you to access files inside ZIP archives using QIODevice
|
||||
* API, and - yes! - that means that you can also use QTextStream,
|
||||
* QDataStream or whatever you would like to use on your zipped files.
|
||||
*
|
||||
* QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
|
||||
* reading from and writing to ZIP archives.
|
||||
*
|
||||
* \section download Download QuaZIP
|
||||
*
|
||||
* Downloads are available from <a
|
||||
* href="http://sourceforge.net/projects/quazip/">QuaZIP project's page
|
||||
* at SourceForge.net</a>.
|
||||
*
|
||||
* \section platforms Platforms supported
|
||||
*
|
||||
* QuaZIP has been currently tested on the following platforms:
|
||||
* - linux-g++ (Ubuntu 11.10, Qt 4.7.4)
|
||||
* - freebsd-g++ (Qt 4.0.0
|
||||
* - hpux-acc (HP-UX 11.11)
|
||||
* - hpux-g++ (HP-UX 11.11)
|
||||
* - win32-g++ (MinGW)
|
||||
* - win32-msvc2010 (MS VS 2010 Express, Qt 4.8.4)
|
||||
* - win32-msvc2010 (Qt Creator, Qt 5.0.1)
|
||||
* - win32-msvc2012 (Qt Creator, Qt 5.2.0)
|
||||
* - some Symbian version, reportedly
|
||||
*
|
||||
* No testing has been officially done on other systems. Of course, patches to
|
||||
* make it work on any platform that it currently does not work on are
|
||||
* always welcome!
|
||||
*
|
||||
* \section whats-new What is new in this version of QuaZIP?
|
||||
*
|
||||
* See the NEWS.txt file supplied with the distribution.
|
||||
*
|
||||
* \section Requirements
|
||||
*
|
||||
* Just <a href="http://www.zlib.org/">zlib</a> and Qt 4/5. Well, Qt 4
|
||||
* depends on zlib anyway, but you will need zlib headers to compile
|
||||
* QuaZIP. With Qt5 sometimes you need the zlib library as well (on
|
||||
* Windows, for example).
|
||||
*
|
||||
* \section building Building, testing and installing
|
||||
*
|
||||
* \note Instructions given in this section assume that you are
|
||||
* using some UNIX dialect, but the build process should be very similar
|
||||
* on win32-g++ platform too. On other platforms it's essentially the
|
||||
* same process, maybe with some qmake adjustments not specific to
|
||||
* QuaZIP itself.
|
||||
*
|
||||
* To build the library, run:
|
||||
\verbatim
|
||||
$ cd /wherever/quazip/source/is/quazip-x.y.z/quazip
|
||||
$ qmake [PREFIX=where-to-install]
|
||||
$ make
|
||||
\endverbatim
|
||||
*
|
||||
* Make sure that you have Qt 4/5 installed with all required headers and
|
||||
* utilities (that is, including the 'dev' or 'devel' package on Linux)
|
||||
* and that you run qmake utility of the Qt 4, not some other version
|
||||
* you may have already installed (you may need to type full path to
|
||||
* qmake like /usr/local/qt4/bin/qmake).
|
||||
*
|
||||
* To reconfigure (with another PREFIX, for example), just run qmake
|
||||
* with appropriate arguments again.
|
||||
*
|
||||
* If you need to specify additional include path or libraries, use
|
||||
* qmake features (see qmake reference in the Qt documentation). For
|
||||
* example:
|
||||
*
|
||||
\verbatim
|
||||
$ qmake LIBS+=-L/usr/local/zlib/lib INCLUDEPATH+=/usr/local/zlib/include
|
||||
\endverbatim
|
||||
* (note abscence of "-I" before the include path and the presence of "-L"
|
||||
* before the lib path)
|
||||
*
|
||||
* Also note that you may or may not need to define ZLIB_WINAPI (qmake
|
||||
* DEFINES+=ZLIB_WINAPI) when linking to zlib on Windows, depending on
|
||||
* how zlib was built (generally, if using zlibwapi.dll, this define is
|
||||
* needed).
|
||||
*
|
||||
* To install compiled library:
|
||||
\verbatim
|
||||
$ make install
|
||||
\endverbatim
|
||||
*
|
||||
* By default, QuaZIP compiles as a DLL/SO, but you have other
|
||||
* options:
|
||||
* - Just copy appropriate source files to your project and use them,
|
||||
* but you need to define QUAZIP_STATIC before including any QuaZIP
|
||||
* headers (best done as a compiler option). This will save you from
|
||||
* possible side effects of importing/exporting QuaZIP symbols.
|
||||
* - Compile it as a static library using CONFIG += staticlib qmake
|
||||
* option. QUAZIP_STATIC is defined automatically by qmake in this case.
|
||||
*
|
||||
* Binary compatibility is guaranteed between minor releases starting
|
||||
* with version 0.5, thanks to the Pimpl idiom. That is, the next binary
|
||||
* incompatible version will be 1.x.
|
||||
*
|
||||
* \section test Testing
|
||||
*
|
||||
* To check if QuaZIP's basic features work OK on your platform, you may
|
||||
* wish to compile the test suite provided in test directory:
|
||||
\verbatim
|
||||
$ cd /wherever/quazip/source/is/quazip-x.y.z/qztest
|
||||
$ qmake
|
||||
$ make
|
||||
$ ./qztest
|
||||
\endverbatim
|
||||
*
|
||||
* Note that the test suite looks for the quazip library in the "quazip"
|
||||
* folder of the project ("../quazip"), but you may wish to use LIBS
|
||||
* for some systems (Windows often puts the library in the separate
|
||||
* "debug" or "release" directory). If you wish to use the quazip
|
||||
* version that's already installed, provide the appropriate path.
|
||||
*
|
||||
* On some systems you may need to set PATH, LD_LIBRARY_PATH or
|
||||
* SHLIB_PATH to get "qztest" to actually run.
|
||||
*
|
||||
* If everything went fine, the test suite should report a lot of PASS
|
||||
* messages. If something goes wrong, it will provide details and a
|
||||
* warning that some tests failed.
|
||||
*
|
||||
* \section using Using
|
||||
*
|
||||
* See \ref usage "usage page".
|
||||
*
|
||||
* \section contacts Authors and contacts
|
||||
*
|
||||
* This wrapper has been written by Sergey A. Tachenov, AKA Alqualos.
|
||||
* This is my first open source project, so it may suck, but I did not
|
||||
* find anything like that, so I just had no other choice but to write
|
||||
* it.
|
||||
*
|
||||
* If you have anything to say to me about QuaZIP library, feel free to
|
||||
* do so (read the \ref faq first, though). I can not promise,
|
||||
* though, that I fix all the bugs you report in, add any features you
|
||||
* want, or respond to your critics, or respond to your feedback at all.
|
||||
* I may be busy, I may be tired of working on QuaZIP, I may be even
|
||||
* dead already (you never know...).
|
||||
*
|
||||
* To report bugs or to post ideas about what should be done, use
|
||||
* SourceForge.net's <a
|
||||
* href="http://sourceforge.net/tracker/?group_id=142688">trackers</a>.
|
||||
* If you want to send me a private message, use my e-mail address
|
||||
* stachenov@gmail.com.
|
||||
*
|
||||
* Do not use e-mail to report bugs, please. Reporting bugs and problems
|
||||
* with the SourceForge.net's bug report system has that advantage that
|
||||
* it is visible to public, and I can always search for open tickets
|
||||
* that were created long ago. It is highly unlikely that I will search
|
||||
* my mail for that kind of stuff, so if a bug reported by mail isn't
|
||||
* fixed immediately, it will likely be forgotten forever.
|
||||
*
|
||||
* Copyright (C) 2005-2014 Sergey A. Tachenov and contributors
|
||||
**/
|
|
@ -1,77 +0,0 @@
|
|||
/** \page usage Usage
|
||||
*
|
||||
* This page provides general information on QuaZIP usage. See classes
|
||||
* QuaZip and QuaZipFile for the detailed documentation on what can
|
||||
* QuaZIP do and what it can not. Also, reading comments in the zip.h and
|
||||
* unzip.h files (taken from the original ZIP/UNZIP package) is always a
|
||||
* good idea too. After all, QuaZIP is just a wrapper with a few
|
||||
* convenience extensions and reimplementations.
|
||||
*
|
||||
* QuaZip is a class representing ZIP archive, QuaZipFile represents a
|
||||
* file inside archive and subclasses QIODevice as well. One limitation
|
||||
* is that there can be only one instance of QuaZipFile per QuaZip
|
||||
* instance, which kind of makes it confusing why there are two classes
|
||||
* instead of one. This is actually no more than an API design mistake.
|
||||
*
|
||||
* \section terminology Terminology
|
||||
*
|
||||
* "QuaZIP" means whole this library, while "QuaZip" (note the
|
||||
* lower case) is just one class in it.
|
||||
*
|
||||
* "ZIP/UNZIP API" or "minizip" means the original API of the Gilles
|
||||
* Vollant's ZIP/UNZIP package. It was slightly modified to better
|
||||
* integrate with Qt. These modifications are not source or binary
|
||||
* compatible with the official minizip release, which means you can't
|
||||
* just drop the newer minizip version into QuaZIP sources and make it
|
||||
* work.
|
||||
*
|
||||
* "ZIP", "ZIP archive" or "ZIP file" means any ZIP archive. Typically
|
||||
* this is a plain file with ".zip" (or ".ZIP") file name suffix, but it
|
||||
* can also be any seekable QIODevice (say, QBuffer, but not
|
||||
* QTcpSocket).
|
||||
*
|
||||
* "A file inside archive", "a file inside ZIP" or something like that
|
||||
* means file either being read or written from/to some ZIP archive.
|
||||
*
|
||||
* \section error-handling Error handling
|
||||
*
|
||||
* Almost any call to ZIP/UNZIP API return some error code. Most of the
|
||||
* original API's error checking could be done in this wrapper as well,
|
||||
* but it would cause unnecessary code bloating without any benefit. So,
|
||||
* QuaZIP only checks for situations that ZIP/UNZIP API can not check
|
||||
* for. For example, ZIP/UNZIP API has no "ZIP open mode" concept
|
||||
* because read and write modes are completely separated. On the other
|
||||
* hand, to avoid creating classes like "QuaZipReader", "QuaZipWriter"
|
||||
* or something like that, QuaZIP introduces "ZIP open mode" concept
|
||||
* instead, thus making it possible to use one class (QuaZip) for both
|
||||
* reading and writing. But this leads to additional open mode checks
|
||||
* which are not done in ZIP/UNZIP package.
|
||||
*
|
||||
* Therefore, error checking is two-level (QuaZIP's level and ZIP/UNZIP
|
||||
* API level), which sometimes can be confusing, so here are some
|
||||
* advices on how the error checking should be properly done:
|
||||
*
|
||||
* - Both QuaZip and QuaZipFile have getZipError() function, which return
|
||||
* error code of the last ZIP/UNZIP API call. Most function calls
|
||||
* reset error code to UNZ_OK on success and set error code on
|
||||
* failure. Some functions do not reset error code. Most of them are
|
||||
* \c const and do not access ZIP archive in any way. Some, on the
|
||||
* other hand, \em do access ZIP archive, but do not reset or set
|
||||
* error code. For example, QuaZipFile::pos() function. Such functions
|
||||
* are explicitly marked in the documentation.
|
||||
* - Most functions have their own way to report errors, by returning a
|
||||
* null string, negative value or \c false. If such a function returns
|
||||
* error value, call getZipError() to get more information about
|
||||
* error. See "zip.h" and "unzip.h" of the ZIP/UNZIP package for error
|
||||
* codes.
|
||||
* - If the function returns error-stating value (like \c false), but
|
||||
* getZipError() returns UNZ_OK, it means that you did something
|
||||
* obviously wrong. For example, tried to write in the archive open
|
||||
* for reading or not open at all. You better just not do that!
|
||||
* Most functions also issue a warning using qWarning() function in
|
||||
* such cases. See documentation for a specific function for details
|
||||
* on when it should not be called.
|
||||
*
|
||||
* I know that this is somewhat messy, but I could not find a better way
|
||||
* to do all the error handling.
|
||||
**/
|
|
@ -1,33 +0,0 @@
|
|||
INCLUDEPATH += $$PWD
|
||||
DEPENDPATH += $$PWD
|
||||
HEADERS += \
|
||||
$$PWD/crypt.h \
|
||||
$$PWD/ioapi.h \
|
||||
$$PWD/JlCompress.h \
|
||||
$$PWD/quaadler32.h \
|
||||
$$PWD/quachecksum32.h \
|
||||
$$PWD/quacrc32.h \
|
||||
$$PWD/quagzipfile.h \
|
||||
$$PWD/quaziodevice.h \
|
||||
$$PWD/quazipdir.h \
|
||||
$$PWD/quazipfile.h \
|
||||
$$PWD/quazipfileinfo.h \
|
||||
$$PWD/quazip_global.h \
|
||||
$$PWD/quazip.h \
|
||||
$$PWD/quazipnewinfo.h \
|
||||
$$PWD/unzip.h \
|
||||
$$PWD/zip.h
|
||||
|
||||
SOURCES += $$PWD/qioapi.cpp \
|
||||
$$PWD/JlCompress.cpp \
|
||||
$$PWD/quaadler32.cpp \
|
||||
$$PWD/quacrc32.cpp \
|
||||
$$PWD/quagzipfile.cpp \
|
||||
$$PWD/quaziodevice.cpp \
|
||||
$$PWD/quazip.cpp \
|
||||
$$PWD/quazipdir.cpp \
|
||||
$$PWD/quazipfile.cpp \
|
||||
$$PWD/quazipfileinfo.cpp \
|
||||
$$PWD/quazipnewinfo.cpp \
|
||||
$$PWD/unzip.c \
|
||||
$$PWD/zip.c
|
|
@ -1,87 +0,0 @@
|
|||
TEMPLATE = lib
|
||||
CONFIG += qt warn_on
|
||||
QT -= gui
|
||||
|
||||
# The ABI version.
|
||||
|
||||
!win32:VERSION = 1.0.0
|
||||
|
||||
# 1.0.0 is the first stable ABI.
|
||||
# The next binary incompatible change will be 2.0.0 and so on.
|
||||
# The existing QuaZIP policy on changing ABI requires to bump the
|
||||
# major version of QuaZIP itself as well. Note that there may be
|
||||
# other reasons for chaging the major version of QuaZIP, so
|
||||
# in case where there is a QuaZIP major version bump but no ABI change,
|
||||
# the VERSION variable will stay the same.
|
||||
|
||||
# For example:
|
||||
|
||||
# QuaZIP 1.0 is released after some 0.x, keeping binary compatibility.
|
||||
# VERSION stays 1.0.0.
|
||||
# Then some binary incompatible change is introduced. QuaZIP goes up to
|
||||
# 2.0, VERSION to 2.0.0.
|
||||
# And so on.
|
||||
|
||||
|
||||
# This one handles dllimport/dllexport directives.
|
||||
DEFINES += QUAZIP_BUILD
|
||||
|
||||
# You'll need to define this one manually if using a build system other
|
||||
# than qmake or using QuaZIP sources directly in your project.
|
||||
CONFIG(staticlib): DEFINES += QUAZIP_STATIC
|
||||
|
||||
# Input
|
||||
include(quazip.pri)
|
||||
|
||||
|
||||
CONFIG(debug, debug|release) {
|
||||
mac: TARGET = $$join(TARGET,,,_debug)
|
||||
win32: TARGET = $$join(TARGET,,,d)
|
||||
}
|
||||
|
||||
unix:!symbian {
|
||||
headers.path=$$PREFIX/include/quazip
|
||||
headers.files=$$HEADERS
|
||||
target.path=$$PREFIX/lib/$${LIB_ARCH}
|
||||
INSTALLS += headers target
|
||||
|
||||
OBJECTS_DIR=.obj
|
||||
MOC_DIR=.moc
|
||||
|
||||
}
|
||||
|
||||
win32 {
|
||||
headers.path=$$PREFIX/include/quazip
|
||||
headers.files=$$HEADERS
|
||||
target.path=$$PREFIX/lib
|
||||
INSTALLS += headers target
|
||||
# workaround for qdatetime.h macro bug
|
||||
DEFINES += NOMINMAX
|
||||
}
|
||||
|
||||
|
||||
symbian {
|
||||
|
||||
# Note, on Symbian you may run into troubles with LGPL.
|
||||
# The point is, if your application uses some version of QuaZip,
|
||||
# and a newer binary compatible version of QuaZip is released, then
|
||||
# the users of your application must be able to relink it with the
|
||||
# new QuaZip version. For example, to take advantage of some QuaZip
|
||||
# bug fixes.
|
||||
|
||||
# This is probably best achieved by building QuaZip as a static
|
||||
# library and providing linkable object files of your application,
|
||||
# so users can relink it.
|
||||
|
||||
CONFIG += staticlib
|
||||
CONFIG += debug_and_release
|
||||
|
||||
LIBS += -lezip
|
||||
|
||||
#Export headers to SDK Epoc32/include directory
|
||||
exportheaders.sources = $$HEADERS
|
||||
exportheaders.path = quazip
|
||||
for(header, exportheaders.sources) {
|
||||
BLD_INF_RULES.prj_exports += "$$header $$exportheaders.path/$$basename(header)"
|
||||
}
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
# Visual C++ Express 2008
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "quazip", "quazip.vcproj", "{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,314 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="quazip"
|
||||
ProjectGUID="{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="0"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;QUAZIP_BUILD"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="QtCored4.lib"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="Release"
|
||||
IntermediateDirectory="Release"
|
||||
ConfigurationType="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;QUAZIP_BUILD"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="QtCore4.lib"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\crypt.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\ioapi.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\JlCompress.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quaadler32.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quachecksum32.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quacrc32.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quagzipfile.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quaziodevice.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazip.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazip_global.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazipdir.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazipfile.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazipfileinfo.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazipnewinfo.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unzip.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\zip.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||
>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\JlCompress.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc_quagzipfile.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc_quaziodevice.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc_quazipfile.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\qioapi.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quaadler32.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quacrc32.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quagzipfile.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quaziodevice.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazip.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazipdir.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazipfile.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazipfileinfo.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\quazipnewinfo.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unzip.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\zip.c"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -1,183 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\qt5.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\qt5.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\qt4.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\qt4.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</LinkIncremental>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;QUAZIP_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>QtCored4.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;QUAZIP_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>QtCored4.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;QUAZIP_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Qt5Core.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;QUAZIP_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Qt5Core.lib;zlibwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="crypt.h" />
|
||||
<ClInclude Include="ioapi.h" />
|
||||
<ClInclude Include="JlCompress.h" />
|
||||
<ClInclude Include="quaadler32.h" />
|
||||
<ClInclude Include="quachecksum32.h" />
|
||||
<ClInclude Include="quacrc32.h" />
|
||||
<ClInclude Include="quagzipfile.h" />
|
||||
<ClInclude Include="quaziodevice.h" />
|
||||
<ClInclude Include="quazip.h" />
|
||||
<ClInclude Include="quazip_global.h" />
|
||||
<ClInclude Include="quazipdir.h" />
|
||||
<ClInclude Include="quazipfile.h" />
|
||||
<ClInclude Include="quazipfileinfo.h" />
|
||||
<ClInclude Include="quazipnewinfo.h" />
|
||||
<ClInclude Include="unzip.h" />
|
||||
<ClInclude Include="zip.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="JlCompress.cpp" />
|
||||
<ClCompile Include="moc\moc_quagzipfile.cpp" />
|
||||
<ClCompile Include="moc\moc_quaziodevice.cpp" />
|
||||
<ClCompile Include="moc\moc_quazipfile.cpp" />
|
||||
<ClCompile Include="qioapi.cpp" />
|
||||
<ClCompile Include="quaadler32.cpp" />
|
||||
<ClCompile Include="quacrc32.cpp" />
|
||||
<ClCompile Include="quagzipfile.cpp" />
|
||||
<ClCompile Include="quaziodevice.cpp" />
|
||||
<ClCompile Include="quazip.cpp" />
|
||||
<ClCompile Include="quazipdir.cpp" />
|
||||
<ClCompile Include="quazipfile.cpp" />
|
||||
<ClCompile Include="quazipfileinfo.cpp" />
|
||||
<ClCompile Include="quazipnewinfo.cpp" />
|
||||
<ClCompile Include="unzip.c" />
|
||||
<ClCompile Include="zip.c" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,117 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="crypt.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="ioapi.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="JlCompress.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quaadler32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quachecksum32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quacrc32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quagzipfile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quaziodevice.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quazip.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quazip_global.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quazipdir.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quazipfile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quazipfileinfo.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="quazipnewinfo.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="unzip.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="zip.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="JlCompress.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="qioapi.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="quaadler32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="quacrc32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="quagzipfile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="quaziodevice.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="quazip.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="quazipdir.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="quazipfile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="quazipfileinfo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="quazipnewinfo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="unzip.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="zip.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_quagzipfile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_quaziodevice.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_quazipfile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,3 +0,0 @@
|
|||
moc -o moc\moc_quazipfile.cpp quazipfile.h
|
||||
moc -o moc\moc_quagzipfile.cpp quagzipfile.h
|
||||
moc -o moc\moc_quaziodevice.cpp quaziodevice.h
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
lcov --capture -b ../quazip -d ../quazip/.obj --output-file cov.info
|
||||
genhtml --demangle-cpp cov.info --output-directory cov
|
|
@ -19,7 +19,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include "qztest.h"
|
||||
|
@ -33,8 +33,8 @@ see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
|||
#include "testquazipnewinfo.h"
|
||||
#include "testquazipfileinfo.h"
|
||||
|
||||
#include <quazip/quazip.h>
|
||||
#include <quazip/quazipfile.h>
|
||||
#include <quazip.h>
|
||||
#include <quazipfile.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QDir>
|
||||
|
|
|
@ -22,7 +22,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include <QIODevice>
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
TEMPLATE = app
|
||||
QT -= gui
|
||||
QT += network
|
||||
CONFIG += qtestlib
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
DEPENDPATH += .
|
||||
INCLUDEPATH += .
|
||||
!win32: LIBS += -lz
|
||||
win32 {
|
||||
# workaround for qdatetime.h macro bug
|
||||
DEFINES += NOMINMAX
|
||||
}
|
||||
|
||||
CONFIG(staticlib): DEFINES += QUAZIP_STATIC
|
||||
|
||||
# Input
|
||||
HEADERS += qztest.h \
|
||||
testjlcompress.h \
|
||||
testquachecksum32.h \
|
||||
testquagzipfile.h \
|
||||
testquaziodevice.h \
|
||||
testquazipdir.h \
|
||||
testquazipfile.h \
|
||||
testquazip.h \
|
||||
testquazipnewinfo.h \
|
||||
testquazipfileinfo.h
|
||||
|
||||
SOURCES += qztest.cpp \
|
||||
testjlcompress.cpp \
|
||||
testquachecksum32.cpp \
|
||||
testquagzipfile.cpp \
|
||||
testquaziodevice.cpp \
|
||||
testquazip.cpp \
|
||||
testquazipdir.cpp \
|
||||
testquazipfile.cpp \
|
||||
testquazipnewinfo.cpp \
|
||||
testquazipfileinfo.cpp
|
||||
|
||||
OBJECTS_DIR = .obj
|
||||
MOC_DIR = .moc
|
||||
|
||||
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../quazip/release/ -lquazip
|
||||
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../quazip/debug/ -lquazipd
|
||||
else:mac:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../quazip/ -lquazip_debug
|
||||
else:unix: LIBS += -L$$OUT_PWD/../quazip/ -lquazip
|
||||
|
||||
INCLUDEPATH += $$PWD/..
|
||||
DEPENDPATH += $$PWD/../quazip
|
|
@ -1,26 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
# Visual C++ Express 2008
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qztest", "qztest.vcproj", "{7632B767-D089-4F15-8B1E-C4B3F9EBF592}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "quazip", "..\quazip\quazip.vcproj", "{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|Win32.Build.0 = Release|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,293 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="qztest"
|
||||
ProjectGUID="{7632B767-D089-4F15-8B1E-C4B3F9EBF592}"
|
||||
RootNamespace="qztest"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="196613"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=".."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="QtCored4.lib QtTestd4.lib"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="Release"
|
||||
IntermediateDirectory="Release"
|
||||
ConfigurationType="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=".."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="QtCore4.lib QtTest4.lib"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
<ProjectReference
|
||||
ReferencedProjectIdentifier="{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}"
|
||||
RelativePathToProject=".\quazip\quazip.vcproj"
|
||||
/>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\qztest.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testjlcompress.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquachecksum32.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquagzipfile.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquaziodevice.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquazip.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquazipdir.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquazipfile.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||
>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\moc_testjlcompress.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc_testquachecksum32.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc_testquagzipfile.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc_testquaziodevice.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc_testquazip.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc_testquazipdir.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc_testquazipfile.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\qztest.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testjlcompress.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquachecksum32.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquagzipfile.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquaziodevice.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquazip.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquazipdir.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\testquazipfile.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\debug\BuildLog.htm"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\release\BuildLog.htm"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -1,205 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{7632B767-D089-4F15-8B1E-C4B3F9EBF592}</ProjectGuid>
|
||||
<RootNamespace>qztest</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\qt5.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\qt5.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\qt4.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\qt4.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</LinkIncremental>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>QtCored4.lib;QtTestd4.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>copy /y $(SolutionDir)\quazip\Debug\quazip.dll $(OutDir)\</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>QtCored4.lib;QtTestd4.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>copy /y $(SolutionDir)\quazip\Debug\quazip.dll $(OutDir)\</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>QtCore4.lib;QtTest4.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>copy /y $(SolutionDir)\quazip\Release\quazip.dll $(OutDir)\</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Qt5Core.lib;Qt5Test.lib;Qt5Network.lib;zlibwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\quazip\quazip.vcxproj">
|
||||
<Project>{e4ac5f56-b711-4f0e-bc83-cde8b6cd53ad}</Project>
|
||||
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="qztest.h" />
|
||||
<ClInclude Include="testjlcompress.h" />
|
||||
<ClInclude Include="testquachecksum32.h" />
|
||||
<ClInclude Include="testquagzipfile.h" />
|
||||
<ClInclude Include="testquaziodevice.h" />
|
||||
<ClInclude Include="testquazip.h" />
|
||||
<ClInclude Include="testquazipdir.h" />
|
||||
<ClInclude Include="testquazipfile.h" />
|
||||
<ClInclude Include="testquazipfileinfo.h" />
|
||||
<ClInclude Include="testquazipnewinfo.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="moc\moc_testjlcompress.cpp" />
|
||||
<ClCompile Include="moc\moc_testquachecksum32.cpp" />
|
||||
<ClCompile Include="moc\moc_testquagzipfile.cpp" />
|
||||
<ClCompile Include="moc\moc_testquaziodevice.cpp" />
|
||||
<ClCompile Include="moc\moc_testquazip.cpp" />
|
||||
<ClCompile Include="moc\moc_testquazipdir.cpp" />
|
||||
<ClCompile Include="moc\moc_testquazipfile.cpp" />
|
||||
<ClCompile Include="moc\moc_testquazipfileinfo.cpp" />
|
||||
<ClCompile Include="moc\moc_testquazipnewinfo.cpp" />
|
||||
<ClCompile Include="qztest.cpp" />
|
||||
<ClCompile Include="testjlcompress.cpp" />
|
||||
<ClCompile Include="testquachecksum32.cpp" />
|
||||
<ClCompile Include="testquagzipfile.cpp" />
|
||||
<ClCompile Include="testquaziodevice.cpp" />
|
||||
<ClCompile Include="testquazip.cpp" />
|
||||
<ClCompile Include="testquazipdir.cpp" />
|
||||
<ClCompile Include="testquazipfile.cpp" />
|
||||
<ClCompile Include="testquazipfileinfo.cpp" />
|
||||
<ClCompile Include="testquazipnewinfo.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="qztest.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="testjlcompress.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="testquachecksum32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="testquagzipfile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="testquaziodevice.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="testquazip.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="testquazipdir.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="testquazipfile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="testquazipfileinfo.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="testquazipnewinfo.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="qztest.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="testjlcompress.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="testquachecksum32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="testquagzipfile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="testquaziodevice.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="testquazip.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="testquazipdir.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="testquazipfile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_testjlcompress.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_testquachecksum32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_testquagzipfile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_testquaziodevice.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_testquazip.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_testquazipdir.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_testquazipfile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="testquazipfileinfo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="testquazipnewinfo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_testquazipfileinfo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="moc\moc_testquazipnewinfo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,9 +0,0 @@
|
|||
moc -o moc\moc_testjlcompress.cpp testjlcompress.h
|
||||
moc -o moc\moc_testquachecksum32.cpp testquachecksum32.h
|
||||
moc -o moc\moc_testquazip.cpp testquazip.h
|
||||
moc -o moc\moc_testquazipfile.cpp testquazipfile.h
|
||||
moc -o moc\moc_testquazipdir.cpp testquazipdir.h
|
||||
moc -o moc\moc_testquagzipfile.cpp testquagzipfile.h
|
||||
moc -o moc\moc_testquaziodevice.cpp testquaziodevice.h
|
||||
moc -o moc\moc_testquazipfileinfo.cpp testquazipfileinfo.h
|
||||
moc -o moc\moc_testquazipnewinfo.cpp testquazipnewinfo.h
|
|
@ -19,7 +19,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include "testjlcompress.h"
|
||||
|
@ -31,7 +31,7 @@ see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
|||
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
#include <quazip/JlCompress.h>
|
||||
#include <JlCompress.h>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <Windows.h>
|
||||
|
|
|
@ -22,7 +22,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
|
|
|
@ -19,13 +19,13 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include "testquachecksum32.h"
|
||||
|
||||
#include <quazip/quaadler32.h>
|
||||
#include <quazip/quacrc32.h>
|
||||
#include <quaadler32.h>
|
||||
#include <quacrc32.h>
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
|
|
|
@ -19,13 +19,13 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include "testquagzipfile.h"
|
||||
#include <zlib.h>
|
||||
#include <QDir>
|
||||
#include <quazip/quagzipfile.h>
|
||||
#include <quagzipfile.h>
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
void TestQuaGzipFile::read()
|
||||
|
|
|
@ -22,7 +22,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
|
|
|
@ -19,11 +19,11 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include "testquaziodevice.h"
|
||||
#include <quazip/quaziodevice.h>
|
||||
#include <quaziodevice.h>
|
||||
#include <QBuffer>
|
||||
#include <QByteArray>
|
||||
#include <QtTest/QtTest>
|
||||
|
|
|
@ -22,7 +22,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
|
|
|
@ -19,7 +19,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include "testquazip.h"
|
||||
|
@ -39,8 +39,8 @@ see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
|||
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
#include <quazip/quazip.h>
|
||||
#include <quazip/JlCompress.h>
|
||||
#include <quazip.h>
|
||||
#include <JlCompress.h>
|
||||
|
||||
void TestQuaZip::getFileList_data()
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
|
|
|
@ -19,14 +19,14 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include "testquazipdir.h"
|
||||
#include "qztest.h"
|
||||
#include <QtTest/QtTest>
|
||||
#include <quazip/quazip.h>
|
||||
#include <quazip/quazipdir.h>
|
||||
#include <quazip.h>
|
||||
#include <quazipdir.h>
|
||||
|
||||
void TestQuaZipDir::entryList_data()
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
|
|
|
@ -19,16 +19,16 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include "testquazipfile.h"
|
||||
|
||||
#include "qztest.h"
|
||||
|
||||
#include <quazip/JlCompress.h>
|
||||
#include <quazip/quazipfile.h>
|
||||
#include <quazip/quazip.h>
|
||||
#include <JlCompress.h>
|
||||
#include <quazipfile.h>
|
||||
#include <quazip.h>
|
||||
|
||||
#include <QFile>
|
||||
#include <QString>
|
||||
|
|
|
@ -22,7 +22,7 @@ along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
|
|||
See COPYING file for the full LGPL text.
|
||||
|
||||
Original ZIP package is copyrighted by Gilles Vollant and contributors,
|
||||
see quazip/(un)zip.h files for details. Basically it's the zlib license.
|
||||
see (un)zip.h files for details. Basically it's the zlib license.
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
#include "quazip/quazip.h"
|
||||
#include "quazip/quazipfile.h"
|
||||
#include "quazip/quazipfileinfo.h"
|
||||
#include "quazip/quazipnewinfo.h"
|
||||
#include "quazip.h"
|
||||
#include "quazipfile.h"
|
||||
#include "quazipfileinfo.h"
|
||||
#include "quazipnewinfo.h"
|
||||
|
||||
TestQuaZipFileInfo::TestQuaZipFileInfo(QObject *parent) :
|
||||
QObject(parent)
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
#include <QFileInfo>
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
#include <quazip/quazip.h>
|
||||
#include <quazip/quazipfile.h>
|
||||
#include <quazip/quazipnewinfo.h>
|
||||
#include <quazip/quazipfileinfo.h>
|
||||
#include <quazip.h>
|
||||
#include <quazipfile.h>
|
||||
#include <quazipnewinfo.h>
|
||||
#include <quazipfileinfo.h>
|
||||
|
||||
TestQuaZipNewInfo::TestQuaZipNewInfo(QObject *parent) :
|
||||
QObject(parent)
|
||||
|
|
Loading…
Reference in a new issue