Theme Editor: Implemented download and decompression of font pack in the preferences...
[kugel-rb.git] / utils / themeeditor / themeeditor.pro
blob42031ff9fa273a1ec725987348401ad9e3b0334c
1 QT += network
3 # Enabling profiling
4 QMAKE_CXXFLAGS_DEBUG += -pg
5 QMAKE_LFLAGS_DEBUG += -pg
7 # Adding zlib dependency for QuaZip
8 LIBS += -lz
9 INCLUDEPATH += zlib
11 # build in a separate folder.
12 MYBUILDDIR = $$OUT_PWD/build/
13 OBJECTS_DIR = $$MYBUILDDIR/o
14 UI_DIR = $$MYBUILDDIR/ui
15 MOC_DIR = $$MYBUILDDIR/moc
16 RCC_DIR = $$MYBUILDDIR/rcc
17 RBBASE_DIR = $$_PRO_FILE_PWD_
18 RBBASE_DIR = $$replace(RBBASE_DIR,/utils/themeeditor,)
20 # Include directories
21 INCLUDEPATH += gui
22 INCLUDEPATH += models
23 INCLUDEPATH += graphics
24 INCLUDEPATH += quazip
26 # Stuff for the parse lib
27 libskin_parser.commands = @$(MAKE) \
28 TARGET_DIR=$$MYBUILDDIR \
29 CC=\"$$QMAKE_CC\" \
30 BUILDDIR=$$OBJECTS_DIR \
31 -C \
32 $$RBBASE_DIR/lib/skin_parser \
33 libskin_parser.a
34 QMAKE_EXTRA_TARGETS += libskin_parser
35 PRE_TARGETDEPS += libskin_parser
36 INCLUDEPATH += $$RBBASE_DIR/lib/skin_parser
37 LIBS += -L$$MYBUILDDIR \
38 -lskin_parser
39 DEPENDPATH = $$INCLUDEPATH
40 HEADERS += models/parsetreemodel.h \
41 models/parsetreenode.h \
42 gui/editorwindow.h \
43 gui/skinhighlighter.h \
44 gui/skindocument.h \
45 gui/preferencesdialog.h \
46 gui/codeeditor.h \
47 models/projectmodel.h \
48 gui/tabcontent.h \
49 gui/configdocument.h \
50 gui/skinviewer.h \
51 graphics/rbscreen.h \
52 graphics/rbviewport.h \
53 graphics/rbrenderinfo.h \
54 graphics/rbimage.h \
55 graphics/rbfont.h \
56 gui/devicestate.h \
57 graphics/rbalbumart.h \
58 graphics/rbprogressbar.h \
59 gui/findreplacedialog.h \
60 graphics/rbtext.h \
61 graphics/rbfontcache.h \
62 graphics/rbtextcache.h \
63 gui/skintimer.h \
64 graphics/rbtoucharea.h \
65 gui/newprojectdialog.h \
66 models/targetdata.h \
67 quazip/zip.h \
68 quazip/unzip.h \
69 quazip/quazipnewinfo.h \
70 quazip/quazipfileinfo.h \
71 quazip/quazipfile.h \
72 quazip/quazip.h \
73 quazip/ioapi.h \
74 quazip/crypt.h \
75 zlib/zlib.h \
76 zlib/zconf.h \
77 gui/fontdownloader.h
78 SOURCES += main.cpp \
79 models/parsetreemodel.cpp \
80 models/parsetreenode.cpp \
81 gui/editorwindow.cpp \
82 gui/skinhighlighter.cpp \
83 gui/skindocument.cpp \
84 gui/preferencesdialog.cpp \
85 gui/codeeditor.cpp \
86 models/projectmodel.cpp \
87 gui/configdocument.cpp \
88 gui/skinviewer.cpp \
89 graphics/rbscreen.cpp \
90 graphics/rbviewport.cpp \
91 graphics/rbrenderinfo.cpp \
92 graphics/rbimage.cpp \
93 graphics/rbfont.cpp \
94 gui/devicestate.cpp \
95 graphics/rbalbumart.cpp \
96 graphics/rbprogressbar.cpp \
97 gui/findreplacedialog.cpp \
98 graphics/rbtext.cpp \
99 graphics/rbfontcache.cpp \
100 graphics/rbtextcache.cpp \
101 gui/skintimer.cpp \
102 graphics/rbtoucharea.cpp \
103 gui/newprojectdialog.cpp \
104 models/targetdata.cpp \
105 quazip/zip.c \
106 quazip/unzip.c \
107 quazip/quazipnewinfo.cpp \
108 quazip/quazipfile.cpp \
109 quazip/quazip.cpp \
110 quazip/ioapi.c \
111 gui/fontdownloader.cpp
112 OTHER_FILES += README \
113 resources/windowicon.png \
114 resources/appicon.xcf \
115 resources/COPYING \
116 resources/document-save.png \
117 resources/document-open.png \
118 resources/document-new.png \
119 resources/deviceoptions \
120 resources/render/statusbar.png \
121 resources/render/scenebg.png \
122 resources/play.xcf \
123 resources/play.png \
124 resources/rwnd.png \
125 resources/pause.xcf \
126 resources/pause.png \
127 resources/ffwd.xcf \
128 resources/ffwd.png \
129 resources/lines.xcf \
130 resources/lines.png \
131 resources/cursor.xcf \
132 resources/cursor.png \
133 resources/targetdb \
134 quazip/README.ROCKBOX \
135 quazip/LICENSE.GPL
136 FORMS += gui/editorwindow.ui \
137 gui/preferencesdialog.ui \
138 gui/configdocument.ui \
139 gui/skinviewer.ui \
140 gui/findreplacedialog.ui \
141 gui/skintimer.ui \
142 gui/newprojectdialog.ui \
143 gui/fontdownloader.ui
144 RESOURCES += resources.qrc
145 win32:RC_FILE = themeeditor.rc
146 macx {
147 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
148 QMAKE_LFLAGS_PPC = -mmacosx-version-min=10.4 \
149 -arch \
151 QMAKE_LFLAGS_X86 = -mmacosx-version-min=10.4 \
152 -arch \
153 i386
154 CONFIG += x86 \
156 QMAKE_INFO_PLIST = Info.plist
157 RC_FILE = resources/windowicon.icns