summaryrefslogtreecommitdiff
path: root/utils/themeeditor/themeeditor.pro
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-21 07:45:29 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-21 07:45:29 +0000
commit7c52284b294cb33bc2e5d747e2e3c14d8ab937ae (patch)
treeba7bbf82a8ca0852deee158068330365f0f97e97 /utils/themeeditor/themeeditor.pro
parentb72f475d44cf83c10c99eaf765b1c55cfdc00bb0 (diff)
downloadrockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.zip
rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.tar.gz
rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.tar.bz2
rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.tar.xz
Theme Editor: Implemented download and decompression of font pack in the preferences dialog. Dialog will also allow the user to set a directory for a custom target database, but the update button doesn't work yet. Also fixed the file filters for open file/open project actions and resized the preferences dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27509 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/themeeditor.pro')
-rw-r--r--utils/themeeditor/themeeditor.pro36
1 files changed, 32 insertions, 4 deletions
diff --git a/utils/themeeditor/themeeditor.pro b/utils/themeeditor/themeeditor.pro
index 48c9f8c..42031ff 100644
--- a/utils/themeeditor/themeeditor.pro
+++ b/utils/themeeditor/themeeditor.pro
@@ -1,7 +1,13 @@
+QT += network
+
# Enabling profiling
QMAKE_CXXFLAGS_DEBUG += -pg
QMAKE_LFLAGS_DEBUG += -pg
+# Adding zlib dependency for QuaZip
+LIBS += -lz
+INCLUDEPATH += zlib
+
# build in a separate folder.
MYBUILDDIR = $$OUT_PWD/build/
OBJECTS_DIR = $$MYBUILDDIR/o
@@ -15,6 +21,7 @@ RBBASE_DIR = $$replace(RBBASE_DIR,/utils/themeeditor,)
INCLUDEPATH += gui
INCLUDEPATH += models
INCLUDEPATH += graphics
+INCLUDEPATH += quazip
# Stuff for the parse lib
libskin_parser.commands = @$(MAKE) \
@@ -56,7 +63,18 @@ HEADERS += models/parsetreemodel.h \
gui/skintimer.h \
graphics/rbtoucharea.h \
gui/newprojectdialog.h \
- models/targetdata.h
+ models/targetdata.h \
+ quazip/zip.h \
+ quazip/unzip.h \
+ quazip/quazipnewinfo.h \
+ quazip/quazipfileinfo.h \
+ quazip/quazipfile.h \
+ quazip/quazip.h \
+ quazip/ioapi.h \
+ quazip/crypt.h \
+ zlib/zlib.h \
+ zlib/zconf.h \
+ gui/fontdownloader.h
SOURCES += main.cpp \
models/parsetreemodel.cpp \
models/parsetreenode.cpp \
@@ -83,7 +101,14 @@ SOURCES += main.cpp \
gui/skintimer.cpp \
graphics/rbtoucharea.cpp \
gui/newprojectdialog.cpp \
- models/targetdata.cpp
+ models/targetdata.cpp \
+ quazip/zip.c \
+ quazip/unzip.c \
+ quazip/quazipnewinfo.cpp \
+ quazip/quazipfile.cpp \
+ quazip/quazip.cpp \
+ quazip/ioapi.c \
+ gui/fontdownloader.cpp
OTHER_FILES += README \
resources/windowicon.png \
resources/appicon.xcf \
@@ -105,14 +130,17 @@ OTHER_FILES += README \
resources/lines.png \
resources/cursor.xcf \
resources/cursor.png \
- resources/targetdb
+ resources/targetdb \
+ quazip/README.ROCKBOX \
+ quazip/LICENSE.GPL
FORMS += gui/editorwindow.ui \
gui/preferencesdialog.ui \
gui/configdocument.ui \
gui/skinviewer.ui \
gui/findreplacedialog.ui \
gui/skintimer.ui \
- gui/newprojectdialog.ui
+ gui/newprojectdialog.ui \
+ gui/fontdownloader.ui
RESOURCES += resources.qrc
win32:RC_FILE = themeeditor.rc
macx {