Commit d3435cc5 authored by Dennis Rassmann's avatar Dennis Rassmann

add quazip headers/sources & includes

Signed-off-by: Dennis Rassmann's avatarshowp1984 <showp1984@gmail.com>
parent b53ead1b
......@@ -11,13 +11,35 @@ DEFINES += APP_VERSION=\\\"$$VERSION\\\"
TARGET = Bricked-Installer
TEMPLATE = app
SOURCES += main.cpp \
quazip/unzip.c \
quazip/zip.c \
quazip/JlCompress.cpp \
quazip/qioapi.cpp \
quazip/quaadler32.cpp \
quazip/quacrc32.cpp \
quazip/quazip.cpp \
quazip/quazipfile.cpp \
quazip/quazipnewinfo.cpp \
mainwindow.cpp \
dragons.cpp \
info.cpp \
detect.cpp \
flasher.cpp \
openfile.cpp
HEADERS += mainwindow.h \
HEADERS += quazip/crypt.h \
quazip/ioapi.h \
quazip/JlCompress.h \
quazip/quaadler32.h \
quazip/quachecksum32.h \
quazip/quacrc32.h \
quazip/quazipfile.h \
quazip/quazipfileinfo.h \
quazip/quazip_global.h \
quazip/quazip.h \
quazip/quazipnewinfo.h \
quazip/unzip.h \
quazip/zip.h \
mainwindow.h \
dragons.h \
info.h \
detect.h \
......
#############################################################################
# Makefile for building: Bricked-Installer
# Generated by qmake (2.01a) (Qt 4.6.2) on: Sun Jul 1 20:16:22 2012
# Generated by qmake (2.01a) (Qt 4.6.2) on: Mon Jul 2 01:48:58 2012
# Project: Bricked-Installer.pro
# Template: app
# Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile Bricked-Installer.pro
......@@ -44,12 +44,22 @@ OBJECTS_DIR = ./
####### Files
SOURCES = main.cpp \
quazip/unzip.c \
quazip/zip.c \
quazip/JlCompress.cpp \
quazip/qioapi.cpp \
quazip/quaadler32.cpp \
quazip/quacrc32.cpp \
quazip/quazip.cpp \
quazip/quazipfile.cpp \
quazip/quazipnewinfo.cpp \
mainwindow.cpp \
dragons.cpp \
info.cpp \
detect.cpp \
flasher.cpp \
openfile.cpp moc_mainwindow.cpp \
openfile.cpp moc_quazipfile.cpp \
moc_mainwindow.cpp \
moc_dragons.cpp \
moc_info.cpp \
moc_detect.cpp \
......@@ -57,12 +67,22 @@ SOURCES = main.cpp \
moc_openfile.cpp \
qrc_res_loc.cpp
OBJECTS = main.o \
unzip.o \
zip.o \
JlCompress.o \
qioapi.o \
quaadler32.o \
quacrc32.o \
quazip.o \
quazipfile.o \
quazipnewinfo.o \
mainwindow.o \
dragons.o \
info.o \
detect.o \
flasher.o \
openfile.o \
moc_quazipfile.o \
moc_mainwindow.o \
moc_dragons.o \
moc_info.o \
......@@ -171,7 +191,7 @@ qmake: FORCE
dist:
@$(CHK_DIR_EXISTS) .tmp/Bricked-Installer0.1 || $(MKDIR) .tmp/Bricked-Installer0.1
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/Bricked-Installer0.1/ && $(COPY_FILE) --parents mainwindow.h dragons.h info.h detect.h flasher.h openfile.h .tmp/Bricked-Installer0.1/ && $(COPY_FILE) --parents res/res_loc.qrc .tmp/Bricked-Installer0.1/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp dragons.cpp info.cpp detect.cpp flasher.cpp openfile.cpp .tmp/Bricked-Installer0.1/ && $(COPY_FILE) --parents mainwindow.ui dragons.ui info.ui detect.ui flasher.ui openfile.ui .tmp/Bricked-Installer0.1/ && (cd `dirname .tmp/Bricked-Installer0.1` && $(TAR) Bricked-Installer0.1.tar Bricked-Installer0.1 && $(COMPRESS) Bricked-Installer0.1.tar) && $(MOVE) `dirname .tmp/Bricked-Installer0.1`/Bricked-Installer0.1.tar.gz . && $(DEL_FILE) -r .tmp/Bricked-Installer0.1
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/Bricked-Installer0.1/ && $(COPY_FILE) --parents quazip/crypt.h quazip/ioapi.h quazip/JlCompress.h quazip/quaadler32.h quazip/quachecksum32.h quazip/quacrc32.h quazip/quazipfile.h quazip/quazipfileinfo.h quazip/quazip_global.h quazip/quazip.h quazip/quazipnewinfo.h quazip/unzip.h quazip/zip.h mainwindow.h dragons.h info.h detect.h flasher.h openfile.h .tmp/Bricked-Installer0.1/ && $(COPY_FILE) --parents res/res_loc.qrc .tmp/Bricked-Installer0.1/ && $(COPY_FILE) --parents main.cpp quazip/unzip.c quazip/zip.c quazip/JlCompress.cpp quazip/qioapi.cpp quazip/quaadler32.cpp quazip/quacrc32.cpp quazip/quazip.cpp quazip/quazipfile.cpp quazip/quazipnewinfo.cpp mainwindow.cpp dragons.cpp info.cpp detect.cpp flasher.cpp openfile.cpp .tmp/Bricked-Installer0.1/ && $(COPY_FILE) --parents mainwindow.ui dragons.ui info.ui detect.ui flasher.ui openfile.ui .tmp/Bricked-Installer0.1/ && (cd `dirname .tmp/Bricked-Installer0.1` && $(TAR) Bricked-Installer0.1.tar Bricked-Installer0.1 && $(COMPRESS) Bricked-Installer0.1.tar) && $(MOVE) `dirname .tmp/Bricked-Installer0.1`/Bricked-Installer0.1.tar.gz . && $(DEL_FILE) -r .tmp/Bricked-Installer0.1
clean:compiler_clean
......@@ -190,11 +210,22 @@ mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
compiler_moc_header_make_all: moc_mainwindow.cpp moc_dragons.cpp moc_info.cpp moc_detect.cpp moc_flasher.cpp moc_openfile.cpp
compiler_moc_header_make_all: moc_quazipfile.cpp moc_mainwindow.cpp moc_dragons.cpp moc_info.cpp moc_detect.cpp moc_flasher.cpp moc_openfile.cpp
compiler_moc_header_clean:
-$(DEL_FILE) moc_mainwindow.cpp moc_dragons.cpp moc_info.cpp moc_detect.cpp moc_flasher.cpp moc_openfile.cpp
-$(DEL_FILE) moc_quazipfile.cpp moc_mainwindow.cpp moc_dragons.cpp moc_info.cpp moc_detect.cpp moc_flasher.cpp moc_openfile.cpp
moc_quazipfile.cpp: quazip/quazip_global.h \
quazip/quazip.h \
quazip/zip.h \
quazip/ioapi.h \
quazip/unzip.h \
quazip/quazipfileinfo.h \
quazip/quazipnewinfo.h \
quazip/quazipfile.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) quazip/quazipfile.h -o moc_quazipfile.cpp
moc_mainwindow.cpp: info.h \
detect.h \
openfile.h \
flasher.h \
mainwindow.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
......@@ -202,6 +233,7 @@ moc_mainwindow.cpp: info.h \
moc_dragons.cpp: mainwindow.h \
info.h \
detect.h \
openfile.h \
flasher.h \
dragons.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) dragons.h -o moc_dragons.cpp
......@@ -210,6 +242,7 @@ moc_info.cpp: info.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) info.h -o moc_info.cpp
moc_detect.cpp: info.h \
openfile.h \
flasher.h \
detect.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) detect.h -o moc_detect.cpp
......@@ -219,6 +252,7 @@ moc_flasher.cpp: info.h \
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) flasher.h -o moc_flasher.cpp
moc_openfile.cpp: info.h \
flasher.h \
openfile.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) openfile.h -o moc_openfile.cpp
......@@ -269,12 +303,73 @@ main.o: main.cpp dragons.h \
mainwindow.h \
info.h \
detect.h \
openfile.h \
flasher.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
unzip.o: quazip/unzip.c quazip/unzip.h \
quazip/ioapi.h \
quazip/crypt.h \
quazip/quazip_global.h
$(CC) -c $(CFLAGS) $(INCPATH) -o unzip.o quazip/unzip.c
zip.o: quazip/zip.c quazip/zip.h \
quazip/ioapi.h \
quazip/quazip_global.h \
quazip/crypt.h
$(CC) -c $(CFLAGS) $(INCPATH) -o zip.o quazip/zip.c
JlCompress.o: quazip/JlCompress.cpp quazip/JlCompress.h \
quazip/quazip.h \
quazip/zip.h \
quazip/ioapi.h \
quazip/unzip.h \
quazip/quazip_global.h \
quazip/quazipfileinfo.h \
quazip/quazipfile.h \
quazip/quazipnewinfo.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o JlCompress.o quazip/JlCompress.cpp
qioapi.o: quazip/qioapi.cpp quazip/ioapi.h \
quazip/quazip_global.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qioapi.o quazip/qioapi.cpp
quaadler32.o: quazip/quaadler32.cpp quazip/quaadler32.h \
quazip/quachecksum32.h \
quazip/quazip_global.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o quaadler32.o quazip/quaadler32.cpp
quacrc32.o: quazip/quacrc32.cpp quazip/quacrc32.h \
quazip/quachecksum32.h \
quazip/quazip_global.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o quacrc32.o quazip/quacrc32.cpp
quazip.o: quazip/quazip.cpp quazip/quazip.h \
quazip/zip.h \
quazip/ioapi.h \
quazip/unzip.h \
quazip/quazip_global.h \
quazip/quazipfileinfo.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o quazip.o quazip/quazip.cpp
quazipfile.o: quazip/quazipfile.cpp quazip/quazipfile.h \
quazip/quazip_global.h \
quazip/quazip.h \
quazip/zip.h \
quazip/ioapi.h \
quazip/unzip.h \
quazip/quazipfileinfo.h \
quazip/quazipnewinfo.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o quazipfile.o quazip/quazipfile.cpp
quazipnewinfo.o: quazip/quazipnewinfo.cpp quazip/quazipnewinfo.h \
quazip/quazip_global.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o quazipnewinfo.o quazip/quazipnewinfo.cpp
mainwindow.o: mainwindow.cpp mainwindow.h \
info.h \
detect.h \
openfile.h \
flasher.h \
ui_mainwindow.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
......@@ -283,6 +378,7 @@ dragons.o: dragons.cpp dragons.h \
mainwindow.h \
info.h \
detect.h \
openfile.h \
flasher.h \
ui_dragons.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o dragons.o dragons.cpp
......@@ -293,20 +389,26 @@ info.o: info.cpp info.h \
detect.o: detect.cpp detect.h \
info.h \
openfile.h \
flasher.h \
ui_detect.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o detect.o detect.cpp
flasher.o: flasher.cpp flasher.h \
info.h \
ui_flasher.h
ui_flasher.h \
openfile.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o flasher.o flasher.cpp
openfile.o: openfile.cpp openfile.h \
info.h \
flasher.h \
ui_openfile.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o openfile.o openfile.cpp
moc_quazipfile.o: moc_quazipfile.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_quazipfile.o moc_quazipfile.cpp
moc_mainwindow.o: moc_mainwindow.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
......
......@@ -2,6 +2,9 @@
#include "ui_flasher.h"
#include "openfile.h"
#include "quazip/quazip.h"
#include "quazip/quazipfile.h"
flasher::flasher(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::flasher)
......
/****************************************************************************
** Meta object code from reading C++ file 'quazipfile.h'
**
** Created: Mon Jul 2 01:49:02 2012
** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "quazip/quazipfile.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'quazipfile.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.6.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_QuaZipFile[] = {
// content:
4, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
static const char qt_meta_stringdata_QuaZipFile[] = {
"QuaZipFile\0"
};
const QMetaObject QuaZipFile::staticMetaObject = {
{ &QIODevice::staticMetaObject, qt_meta_stringdata_QuaZipFile,
qt_meta_data_QuaZipFile, 0 }
};
#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &QuaZipFile::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION
const QMetaObject *QuaZipFile::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}
void *QuaZipFile::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_QuaZipFile))
return static_cast<void*>(const_cast< QuaZipFile*>(this));
return QIODevice::qt_metacast(_clname);
}
int QuaZipFile::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QIODevice::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
return _id;
}
QT_END_MOC_NAMESPACE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment