mirror of https://github.com/AxioDL/metaforce.git
Allow compiling with Qt5 again (Qt6 is preferred)
Small fix to Quazip, removes extraneous files
This commit is contained in:
parent
8838add29d
commit
e1515252f1
|
@ -4,22 +4,25 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
find_package(Qt6 COMPONENTS Core5Compat Network Widgets Xml Gui REQUIRED PATHS /usr/local/opt/qt)
|
||||
|
||||
file(GLOB QUAZIP_SRCS quazip/quazip/*.c quazip/quazip/*.cpp quazip/quazip/*.h)
|
||||
list(REMOVE_ITEM QUAZIP_SRCS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/quazip/quazip/quagzipfile.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/quazip/quazip/quagzipfile.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/quazip/quazip/quaadler32.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/quazip/quazip/quaadler32.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/quazip/quazip/quacrc32.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/quazip/quazip/quacrc32.h
|
||||
)
|
||||
if (NOT MSVC)
|
||||
set_source_files_properties(${QUAZIP_SRCS} PROPERTIES COMPILE_OPTIONS -Wno-deprecated-declarations)
|
||||
if(APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64)
|
||||
set(QT_HOMEBREW_PATH /usr/local/opt/qt)
|
||||
elseif(APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL arm64)
|
||||
set(QT_HOMEBREW_PATH /opt/homebrew/opt/qt)
|
||||
else()
|
||||
set(QT_HOMEBREW_PATH "")
|
||||
endif()
|
||||
|
||||
set(QUAZIP_LIBS ${ZLIB_LIBRARIES})
|
||||
find_package(Qt6Widgets QUIET PATHS ${QT_HOMEBREW_PATH})
|
||||
if(Qt6Widgets_FOUND)
|
||||
find_package(Qt6 COMPONENTS Core5Compat Network Widgets Xml Gui REQUIRED PATHS ${QT_HOMEBREW_PATH})
|
||||
else()
|
||||
find_package(Qt5Widgets REQUIRED PATHS ${QT_HOMEBREW_PATH})
|
||||
find_package(Qt5 COMPONENTS Network Widgets Xml Gui REQUIRED PATHS ${QT_HOMEBREW_PATH})
|
||||
endif()
|
||||
|
||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "")
|
||||
set(QUAZIP_INSTALL OFF CACHE BOOL "")
|
||||
add_subdirectory(quazip)
|
||||
|
||||
add_executable(hecl-gui WIN32 MACOSX_BUNDLE
|
||||
ArgumentEditor.cpp
|
||||
|
@ -76,17 +79,27 @@ target_compile_definitions(hecl-gui PRIVATE
|
|||
-DQT_USE_QSTRINGBUILDER
|
||||
)
|
||||
|
||||
target_link_libraries(hecl-gui PRIVATE
|
||||
if(Qt6Widgets_FOUND)
|
||||
set(Qt_LIBS
|
||||
Qt6::Core
|
||||
Qt6::Core5Compat
|
||||
Qt6::Gui
|
||||
Qt6::Network
|
||||
Qt6::Widgets
|
||||
Qt6::Xml
|
||||
|
||||
Qt6::Xml)
|
||||
else()
|
||||
set(Qt_LIBS
|
||||
Qt5::Core
|
||||
Qt5::Gui
|
||||
Qt5::Network
|
||||
Qt5::Widgets
|
||||
Qt5::Xml)
|
||||
endif()
|
||||
target_link_libraries(hecl-gui PRIVATE
|
||||
${Qt_LIBS}
|
||||
hecl-light
|
||||
zeus
|
||||
${QUAZIP_LIBS}
|
||||
QuaZip::QuaZip
|
||||
)
|
||||
|
||||
target_include_directories(hecl-gui PRIVATE quazip/quazip)
|
||||
|
|
|
@ -64,6 +64,7 @@ void ParseEscapeSequence(int attribute, QListIterator<QString>& i, QTextCharForm
|
|||
case 17:
|
||||
case 18:
|
||||
case 19: {
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
QString fontFamily = textCharFormat.fontFamily();
|
||||
QStringList fontStyles = QFontDatabase::styles(fontFamily);
|
||||
int fontStyleIndex = attribute - 11;
|
||||
|
@ -71,6 +72,16 @@ void ParseEscapeSequence(int attribute, QListIterator<QString>& i, QTextCharForm
|
|||
textCharFormat.setFont(
|
||||
QFontDatabase::font(fontFamily, fontStyles.at(fontStyleIndex), textCharFormat.font().pointSize()));
|
||||
}
|
||||
#else
|
||||
QFontDatabase fontDatabase;
|
||||
QString fontFamily = textCharFormat.fontFamily();
|
||||
QStringList fontStyles = fontDatabase.styles(fontFamily);
|
||||
int fontStyleIndex = attribute - 11;
|
||||
if (fontStyleIndex < fontStyles.length()) {
|
||||
textCharFormat.setFont(
|
||||
fontDatabase.font(fontFamily, fontStyles.at(fontStyleIndex), textCharFormat.font().pointSize()));
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
case 20: { // Fraktur (unsupported)
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
indent_style = space
|
||||
indent_size = 4
|
|
@ -59,7 +59,7 @@ else()
|
|||
message(FATAL_ERROR "Qt version ${QUAZIP_QT_MAJOR_VERSION} is not supported")
|
||||
endif()
|
||||
|
||||
find_package(Qt${QUAZIP_QT_MAJOR_VERSION} OPTIONAL_COMPONENTS Zlib)
|
||||
find_package(Qt${QUAZIP_QT_MAJOR_VERSION} QUIET OPTIONAL_COMPONENTS Zlib)
|
||||
if (Qt${QUAZIP_QT_MAJOR_VERSION}Zlib_FOUND)
|
||||
set(QUAZIP_LIB_LIBRARIES ${QUAZIP_LIB_LIBRARIES} Qt${QUAZIP_QT_MAJOR_VERSION}::Zlib)
|
||||
else()
|
||||
|
|
|
@ -64,7 +64,7 @@ QuaZip changes
|
|||
|
||||
* 2014-02-09 0.6.2
|
||||
* QuaZipNewInfo / QuaZipFileInfo64 now provide API to access/set
|
||||
NTFS time stamps - useful even on non-NTFS systems if you
|
||||
NTFS time stamps - useful even on non-NTFS systems if you
|
||||
need more precise dates and times than default ones.
|
||||
* QuaZipNewInfo may now be initialized from QuaZipFileInfo64.
|
||||
* No more crashes when using QSaveFile as QIODevice for ZIP.
|
||||
|
|
|
@ -53,7 +53,7 @@ set_target_properties(${QUAZIP_LIB_TARGET_NAME} PROPERTIES
|
|||
OUTPUT_NAME ${QUAZIP_LIB_FILE_NAME}
|
||||
PUBLIC_HEADER "${QUAZIP_HEADERS}"
|
||||
)
|
||||
target_include_directories(${QUAZIP_LIB_TARGET_NAME} PUBLIC
|
||||
target_include_directories(${QUAZIP_LIB_TARGET_NAME} PUBLIC
|
||||
$<BUILD_INTERFACE:${QUAZIP_SOURCE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/${QUAZIP_DIR_NAME}>
|
||||
|
|
|
@ -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,33 +0,0 @@
|
|||
INCLUDEPATH += $$PWD
|
||||
DEPENDPATH += $$PWD
|
||||
HEADERS += \
|
||||
$$PWD/minizip_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,113 +0,0 @@
|
|||
TEMPLATE = lib
|
||||
CONFIG += qt warn_on
|
||||
QT -= gui
|
||||
|
||||
# Creating pkgconfig .pc file
|
||||
CONFIG += create_prl no_install_prl create_pc
|
||||
|
||||
QMAKE_PKGCONFIG_PREFIX = $$PREFIX
|
||||
QMAKE_PKGCONFIG_INCDIR = $$headers.path
|
||||
QMAKE_PKGCONFIG_REQUIRES = Qt5Core
|
||||
|
||||
# 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.
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
# disable all the Qt APIs deprecated before Qt 6.0.0
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000
|
||||
}
|
||||
|
||||
# This one handles dllimport/dllexport directives.
|
||||
DEFINES += QUAZIP_BUILD
|
||||
DEFINES += QT_NO_CAST_FROM_ASCII
|
||||
DEFINES += QT_NO_CAST_TO_ASCII
|
||||
# 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}
|
||||
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
|
||||
INSTALLS += headers target
|
||||
|
||||
OBJECTS_DIR=.obj
|
||||
MOC_DIR=.moc
|
||||
|
||||
}
|
||||
|
||||
win32 {
|
||||
headers.path=$$PREFIX/include/quazip
|
||||
headers.files=$$HEADERS
|
||||
INSTALLS += headers target
|
||||
CONFIG(staticlib){
|
||||
target.path=$$PREFIX/lib
|
||||
QMAKE_PKGCONFIG_LIBDIR = $$PREFIX/lib/
|
||||
} else {
|
||||
target.path=$$PREFIX/bin
|
||||
QMAKE_PKGCONFIG_LIBDIR = $$PREFIX/bin/
|
||||
}
|
||||
|
||||
## odd, this path seems to be relative to the
|
||||
## target.path, so if we install the .dll into
|
||||
## the 'bin' dir, the .pc will go there as well,
|
||||
## unless have hack the needed path...
|
||||
## TODO any nicer solution?
|
||||
QMAKE_PKGCONFIG_DESTDIR = ../lib/pkgconfig
|
||||
# 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=".\minizip_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="minizip_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="minizip_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
|
|
@ -1,54 +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
|
||||
}
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
# disable all the Qt APIs deprecated before Qt 6.0.0
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000
|
||||
}
|
||||
|
||||
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
|
Loading…
Reference in New Issue