source: smplayer/trunk/src/smplayer.pro@ 119

Last change on this file since 119 was 119, checked in by Silvan Scherrer, 14 years ago

SMPlayer: latest svn update

  • Property svn:eol-style set to LF
File size: 7.9 KB
Line 
1TEMPLATE = app
2LANGUAGE = C++
3
4CONFIG += qt warn_on release
5
6QT += network xml
7
8RESOURCES = icons.qrc
9
10INCLUDEPATH += findsubtitles videopreview mpcgui
11DEPENDPATH += findsubtitles videopreview mpcgui
12
13#DEFINES += USE_QXT
14
15DEFINES += DOWNLOAD_SUBS
16
17HEADERS += guiconfig.h \
18 config.h \
19 constants.h \
20 svn_revision.h \
21 version.h \
22 global.h \
23 paths.h \
24 helper.h \
25 colorutils.h \
26 translator.h \
27 subtracks.h \
28 tracks.h \
29 titletracks.h \
30 discname.h \
31 extensions.h \
32 desktopinfo.h \
33 myprocess.h \
34 mplayerversion.h \
35 mplayerprocess.h \
36 infoprovider.h \
37 mplayerwindow.h \
38 mediadata.h \
39 audioequalizerlist.h \
40 mediasettings.h \
41 assstyles.h \
42 filters.h \
43 preferences.h \
44 filesettingsbase.h \
45 filesettings.h \
46 filesettingshash.h \
47 tvsettings.h \
48 images.h \
49 inforeader.h \
50 deviceinfo.h \
51 recents.h \
52 urlhistory.h \
53 core.h \
54 logwindow.h \
55 infofile.h \
56 seekwidget.h \
57 mytablewidget.h \
58 shortcutgetter.h \
59 actionseditor.h \
60 filechooser.h \
61 vdpauproperties.h \
62 preferencesdialog.h \
63 mycombobox.h \
64 tristatecombo.h \
65 languages.h \
66 selectcolorbutton.h \
67 prefwidget.h \
68 prefgeneral.h \
69 prefdrives.h \
70 prefinterface.h \
71 prefperformance.h \
72 prefinput.h \
73 prefsubtitles.h \
74 prefadvanced.h \
75 prefplaylist.h \
76 preftv.h \
77 filepropertiesdialog.h \
78 playlist.h \
79 playlistdock.h \
80 verticaltext.h \
81 eqslider.h \
82 videoequalizer.h \
83 audioequalizer.h \
84 myslider.h \
85 timeslider.h \
86 inputdvddirectory.h \
87 inputurl.h \
88 myaction.h \
89 myactiongroup.h \
90 myserver.h \
91 myclient.h \
92 filedialog.h \
93 inputmplayerversion.h \
94 about.h \
95 errordialog.h \
96 timedialog.h \
97 findsubtitles/simplehttp.h \
98 findsubtitles/osparser.h \
99 findsubtitles/findsubtitlesconfigdialog.h \
100 findsubtitles/findsubtitleswindow.h \
101 videopreview/videopreview.h \
102 videopreview/videopreviewconfigdialog.h \
103 favorites.h \
104 tvlist.h \
105 favoriteeditor.h \
106 basegui.h \
107 baseguiplus.h \
108 floatingwidget.h \
109 widgetactions.h \
110 toolbareditor.h \
111 defaultgui.h \
112 minigui.h \
113 mpcgui/mpcgui.h \
114 mpcgui/mpcstyles.h \
115 smplayer.h \
116 clhelp.h
117
118
119SOURCES += version.cpp \
120 global.cpp \
121 paths.cpp \
122 helper.cpp \
123 colorutils.cpp \
124 translator.cpp \
125 subtracks.cpp \
126 tracks.cpp \
127 titletracks.cpp \
128 discname.cpp \
129 extensions.cpp \
130 desktopinfo.cpp \
131 myprocess.cpp \
132 mplayerversion.cpp \
133 mplayerprocess.cpp \
134 infoprovider.cpp \
135 mplayerwindow.cpp \
136 mediadata.cpp \
137 mediasettings.cpp \
138 assstyles.cpp \
139 filters.cpp \
140 preferences.cpp \
141 filesettingsbase.cpp \
142 filesettings.cpp \
143 filesettingshash.cpp \
144 tvsettings.cpp \
145 images.cpp \
146 inforeader.cpp \
147 deviceinfo.cpp \
148 recents.cpp \
149 urlhistory.cpp \
150 core.cpp \
151 logwindow.cpp \
152 infofile.cpp \
153 seekwidget.cpp \
154 mytablewidget.cpp \
155 shortcutgetter.cpp \
156 actionseditor.cpp \
157 filechooser.cpp \
158 vdpauproperties.cpp \
159 preferencesdialog.cpp \
160 mycombobox.cpp \
161 tristatecombo.cpp \
162 languages.cpp \
163 selectcolorbutton.cpp \
164 prefwidget.cpp \
165 prefgeneral.cpp \
166 prefdrives.cpp \
167 prefinterface.cpp \
168 prefperformance.cpp \
169 prefinput.cpp \
170 prefsubtitles.cpp \
171 prefadvanced.cpp \
172 prefplaylist.cpp \
173 preftv.cpp \
174 filepropertiesdialog.cpp \
175 playlist.cpp \
176 playlistdock.cpp \
177 verticaltext.cpp \
178 eqslider.cpp \
179 videoequalizer.cpp \
180 audioequalizer.cpp \
181 myslider.cpp \
182 timeslider.cpp \
183 inputdvddirectory.cpp \
184 inputurl.cpp \
185 myaction.cpp \
186 myactiongroup.cpp \
187 myserver.cpp \
188 myclient.cpp \
189 filedialog.cpp \
190 inputmplayerversion.cpp \
191 about.cpp \
192 errordialog.cpp \
193 timedialog.cpp \
194 findsubtitles/simplehttp.cpp \
195 findsubtitles/osparser.cpp \
196 findsubtitles/findsubtitlesconfigdialog.cpp \
197 findsubtitles/findsubtitleswindow.cpp \
198 videopreview/videopreview.cpp \
199 videopreview/videopreviewconfigdialog.cpp \
200 favorites.cpp \
201 tvlist.cpp \
202 favoriteeditor.cpp \
203 basegui.cpp \
204 baseguiplus.cpp \
205 floatingwidget.cpp \
206 widgetactions.cpp \
207 toolbareditor.cpp \
208 defaultgui.cpp \
209 minigui.cpp \
210 mpcgui/mpcgui.cpp \
211 mpcgui/mpcstyles.cpp \
212 clhelp.cpp \
213 smplayer.cpp \
214 main.cpp
215
216#libqxt
217contains(DEFINES, USE_QXT) {
218 CONFIG += qxt
219 QXT += core
220}
221
222FORMS = inputdvddirectory.ui logwindowbase.ui filepropertiesdialog.ui \
223 eqslider.ui seekwidget.ui inputurl.ui vdpauproperties.ui \
224 preferencesdialog.ui prefgeneral.ui prefdrives.ui prefinterface.ui \
225 prefperformance.ui prefinput.ui prefsubtitles.ui prefadvanced.ui \
226 prefplaylist.ui preftv.ui favoriteeditor.ui \
227 about.ui inputmplayerversion.ui errordialog.ui timedialog.ui \
228 filechooser.ui \
229 findsubtitles/findsubtitleswindow.ui findsubtitles/findsubtitlesconfigdialog.ui \
230 videopreview/videopreviewconfigdialog.ui
231
232TRANSLATIONS = translations/smplayer_es.ts translations/smplayer_de.ts \
233 translations/smplayer_sk.ts translations/smplayer_it.ts \
234 translations/smplayer_fr.ts translations/smplayer_zh_CN.ts \
235 translations/smplayer_ru_RU.ts translations/smplayer_hu.ts \
236 translations/smplayer_en_US.ts translations/smplayer_pl.ts \
237 translations/smplayer_ja.ts translations/smplayer_nl.ts \
238 translations/smplayer_uk_UA.ts translations/smplayer_pt_BR.ts \
239 translations/smplayer_ka.ts translations/smplayer_cs.ts \
240 translations/smplayer_bg.ts translations/smplayer_tr.ts \
241 translations/smplayer_sv.ts translations/smplayer_sr.ts \
242 translations/smplayer_zh_TW.ts translations/smplayer_ro_RO.ts \
243 translations/smplayer_pt.ts translations/smplayer_el_GR.ts \
244 translations/smplayer_fi.ts translations/smplayer_ko.ts \
245 translations/smplayer_mk.ts translations/smplayer_eu.ts \
246 translations/smplayer_ca.ts translations/smplayer_sl_SI.ts \
247 translations/smplayer_ar_SY.ts translations/smplayer_ku.ts \
248 translations/smplayer_gl.ts translations/smplayer_vi_VN.ts \
249 translations/smplayer_et.ts translations/smplayer_lt.ts \
250 translations/smplayer_da.ts
251
252contains( DEFINES, DOWNLOAD_SUBS ) {
253 INCLUDEPATH += findsubtitles/filedownloader findsubtitles/quazip
254 DEPENDPATH += findsubtitles/filedownloader findsubtitles/quazip
255
256 HEADERS += filedownloader.h subchooserdialog.h
257 SOURCES += filedownloader.cpp subchooserdialog.cpp
258
259 FORMS += subchooserdialog.ui
260
261 HEADERS += crypt.h \
262 ioapi.h \
263 quazip.h \
264 quazipfile.h \
265 quazipfileinfo.h \
266 quazipnewinfo.h \
267 unzip.h \
268 zip.h
269
270 SOURCES += ioapi.c \
271 quazip.cpp \
272 quazipfile.cpp \
273 quazipnewinfo.cpp \
274 unzip.c \
275 zip.c
276
277 LIBS += -lz
278
279 win32 {
280 INCLUDEPATH += c:\development\zlib-1.2.3
281 LIBS += -Lc:\development\zlib-1.2.3
282 }
283}
284
285unix {
286 UI_DIR = .ui
287 MOC_DIR = .moc
288 OBJECTS_DIR = .obj
289
290 DEFINES += DATA_PATH=$(DATA_PATH)
291 DEFINES += DOC_PATH=$(DOC_PATH)
292 DEFINES += TRANSLATION_PATH=$(TRANSLATION_PATH)
293 DEFINES += THEMES_PATH=$(THEMES_PATH)
294 DEFINES += SHORTCUTS_PATH=$(SHORTCUTS_PATH)
295 #DEFINES += NO_DEBUG_ON_CONSOLE
296
297 #DEFINES += KDE_SUPPORT
298 #INCLUDEPATH += /opt/kde3/include/
299 #LIBS += -lkio -L/opt/kde3/lib/
300
301 #contains( DEFINES, KDE_SUPPORT) {
302 # HEADERS += mysystemtrayicon.h
303 # SOURCES += mysystemtrayicon.cpp
304 #}
305
306 #HEADERS += prefassociations.h winfileassoc.h
307 #SOURCES += prefassociations.cpp winfileassoc.cpp
308 #FORMS += prefassociations.ui
309}
310
311win32 {
312 DEFINES += SCREENSAVER_OFF
313 contains( DEFINES, SCREENSAVER_OFF ) {
314 HEADERS += screensaver.h
315 SOURCES += screensaver.cpp
316 }
317
318 !contains( DEFINES, PORTABLE_APP ) {
319 DEFINES += USE_ASSOCIATIONS
320 }
321
322 contains( DEFINES, USE_ASSOCIATIONS ) {
323 HEADERS += prefassociations.h winfileassoc.h
324 SOURCES += prefassociations.cpp winfileassoc.cpp
325 FORMS += prefassociations.ui
326 }
327
328 contains(TEMPLATE,vcapp) {
329 LIBS += ole32.lib user32.lib
330 } else {
331 LIBS += libole32
332 }
333
334 RC_FILE = smplayer.rc
335 DEFINES += NO_DEBUG_ON_CONSOLE
336# debug {
337# CONFIG += console
338# }
339}
340
341os2 {
342 DEFINES += SCREENSAVER_OFF
343 INCLUDEPATH += .
344 contains( DEFINES, SCREENSAVER_OFF ) {
345 HEADERS += screensaver.h
346 SOURCES += screensaver.cpp
347 }
348 RC_FILE = smplayer_os2.rc
349}
Note: See TracBrowser for help on using the repository browser.