rbutilQt: Add Uninstallation for Rockbox and Bootloaders. Also add Talkfiles to the...
[Rockbox.git] / rbutil / rbutilqt / rbutilqt.pro
bloba5a03bf87c8d186376c3e625c44f3730d4469b6f
1 unix:!mac {
2 CCACHE = $$system(which ccache)
3 !isEmpty(CCACHE) {
4 message("using ccache")
5 QMAKE_CXX = ccache g++
6 QMAKE_CC = ccache gcc
10 OBJECTS_DIR = build/o
11 UI_DIR = build/ui
12 MOC_DIR = build/moc
13 RCC_DIR = build/rcc
15 SOURCES += rbutilqt.cpp \
16 main.cpp \
17 install.cpp \
18 httpget.cpp \
19 configure.cpp \
20 zip/zip.cpp \
21 zip/unzip.cpp \
22 installzip.cpp \
23 installbootloader.cpp \
24 installbootloaderwindow.cpp \
25 progressloggergui.cpp \
26 installtalkwindow.cpp \
27 talkfile.cpp \
28 autodetection.cpp \
29 ../ipodpatcher/ipodpatcher.c \
30 ../sansapatcher/sansapatcher.c \
31 irivertools/irivertools.cpp \
32 irivertools/md5sum.cpp \
33 browsedirtree.cpp \
34 uninstall.cpp \
35 uninstallwindow.cpp
37 HEADERS += rbutilqt.h \
38 settings.h \
39 install.h \
40 httpget.h \
41 configure.h \
42 zip/zip.h \
43 zip/unzip.h \
44 zip/zipentry_p.h \
45 zip/unzip_p.h \
46 zip/zip_p.h \
47 version.h \
48 installzip.h \
49 installbootloader.h \
50 installbootloaderwindow.h \
51 installtalkwindow.h \
52 talkfile.h \
53 autodetection.h \
54 progressloggerinterface.h \
55 progressloggergui.h \
56 ../ipodpatcher/ipodpatcher.h \
57 ../ipodpatcher/ipodio.h \
58 ../ipodpatcher/parttypes.h \
59 ../sansapatcher/sansapatcher.h \
60 ../sansapatcher/sansaio.h \
61 irivertools/irivertools.h \
62 irivertools/md5sum.h \
63 irivertools/h100sums.h \
64 irivertools/h120sums.h \
65 irivertools/h300sums.h \
66 irivertools/checksums.h \
67 browsedirtree.h \
68 uninstall.h \
69 uninstallwindow.h
71 # Needed by QT on Win
72 INCLUDEPATH = . irivertools zip zlib ../ipodpatcher ../sansapatcher
74 TEMPLATE = app
75 CONFIG += release \
76 warn_on \
77 thread \
79 TARGET = rbutilqt
81 FORMS += rbutilqtfrm.ui \
82 aboutbox.ui \
83 installfrm.ui \
84 installprogressfrm.ui \
85 configurefrm.ui \
86 installbootloaderfrm.ui \
87 browsedirtreefrm.ui \
88 installtalkfrm.ui \
89 uninstallfrm.ui
91 RESOURCES += rbutilqt.qrc
93 TRANSLATIONS += rbutil_de.ts
94 QT += network
95 DEFINES += RBUTIL _LARGEFILE64_SOURCE
97 win32 {
98 SOURCES += ../ipodpatcher/ipodio-win32.c
99 SOURCES += ../sansapatcher/sansaio-win32.c
102 unix {
103 SOURCES += ../ipodpatcher/ipodio-posix.c
104 SOURCES += ../sansapatcher/sansaio-posix.c