TTS configuration: default to the first profile found.
[Rockbox.git] / rbutil / rbutilqt / rbutilqt.pro
blob814aae1c431e52fe6a5110d788135dceb5bbb5c1
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 progressloggergui.cpp \
25 installtalkwindow.cpp \
26 talkfile.cpp \
27 autodetection.cpp \
28 ../ipodpatcher/ipodpatcher.c \
29 ../sansapatcher/sansapatcher.c \
30 irivertools/irivertools.cpp \
31 irivertools/md5sum.cpp \
32 browsedirtree.cpp \
33 installthemes.cpp \
34 uninstall.cpp \
35 uninstallwindow.cpp \
36 browseof.cpp \
37 preview.cpp
39 HEADERS += rbutilqt.h \
40 install.h \
41 httpget.h \
42 configure.h \
43 zip/zip.h \
44 zip/unzip.h \
45 zip/zipentry_p.h \
46 zip/unzip_p.h \
47 zip/zip_p.h \
48 version.h \
49 installzip.h \
50 installbootloader.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 installthemes.h \
69 uninstall.h \
70 uninstallwindow.h \
71 browseof.h \
72 preview.h
74 # Needed by QT on Win
75 INCLUDEPATH = . irivertools zip zlib ../ipodpatcher ../sansapatcher
77 TEMPLATE = app
78 CONFIG += release \
79 warn_on \
80 thread \
82 TARGET = rbutilqt
84 FORMS += rbutilqtfrm.ui \
85 aboutbox.ui \
86 installfrm.ui \
87 installprogressfrm.ui \
88 configurefrm.ui \
89 browsedirtreefrm.ui \
90 installtalkfrm.ui \
91 installthemesfrm.ui \
92 uninstallfrm.ui \
93 browseoffrm.ui \
94 previewfrm.ui
96 RESOURCES += rbutilqt.qrc
98 TRANSLATIONS += rbutil_de.ts
99 TRANSLATIONS += rbutil_fr.ts
100 QT += network
101 DEFINES += RBUTIL _LARGEFILE64_SOURCE
103 win32 {
104 SOURCES += ../ipodpatcher/ipodio-win32.c
105 SOURCES += ../sansapatcher/sansaio-win32.c
106 RC_FILE = rbutilqt.rc
109 unix {
110 SOURCES += ../ipodpatcher/ipodio-posix.c
111 SOURCES += ../sansapatcher/sansaio-posix.c
114 static {
115 QTPLUGIN += qtaccessiblewidgets
116 LIBS += -L$$(QT_BUILD_TREE)/plugins/accessible -lqtaccessiblewidgets
117 DEFINES += STATIC
118 message("using static plugin")