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

Last change on this file since 93 was 93, checked in by Silvan Scherrer, 15 years ago

smplayer: 0.6.9

File size: 8.3 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 preferencesdialog.h \
62 mycombobox.h \
63 tristatecombo.h \
64 languages.h \
65 selectcolorbutton.h \
66 prefwidget.h \
67 prefgeneral.h \
68 prefdrives.h \
69 prefinterface.h \
70 prefperformance.h \
71 prefinput.h \
72 prefsubtitles.h \
73 prefadvanced.h \
74 prefplaylist.h \
75 preftv.h \
76 filepropertiesdialog.h \
77 playlist.h \
78 playlistpreferences.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 preferencesdialog.cpp \
159 mycombobox.cpp \
160 tristatecombo.cpp \
161 languages.cpp \
162 selectcolorbutton.cpp \
163 prefwidget.cpp \
164 prefgeneral.cpp \
165 prefdrives.cpp \
166 prefinterface.cpp \
167 prefperformance.cpp \
168 prefinput.cpp \
169 prefsubtitles.cpp \
170 prefadvanced.cpp \
171 prefplaylist.cpp \
172 preftv.cpp \
173 filepropertiesdialog.cpp \
174 playlist.cpp \
175 playlistpreferences.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 \
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 playlistpreferences.ui 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
251contains( DEFINES, DOWNLOAD_SUBS ) {
252 INCLUDEPATH += findsubtitles/filedownloader findsubtitles/quazip
253 DEPENDPATH += findsubtitles/filedownloader findsubtitles/quazip
254
255 HEADERS += filedownloader.h subchooserdialog.h
256 SOURCES += filedownloader.cpp subchooserdialog.cpp
257
258 FORMS += subchooserdialog.ui
259
260 HEADERS += crypt.h \
261 ioapi.h \
262 quazip.h \
263 quazipfile.h \
264 quazipfileinfo.h \
265 quazipnewinfo.h \
266 unzip.h \
267 zip.h
268
269 SOURCES += ioapi.c \
270 quazip.cpp \
271 quazipfile.cpp \
272 quazipnewinfo.cpp \
273 unzip.c \
274 zip.c
275
276 LIBS += -lz
277
278 win32 {
279 INCLUDEPATH += c:\development\zlib-1.2.3
280 LIBS += -Lc:\development\zlib-1.2.3
281 }
282}
283
284unix {
285 UI_DIR = .ui
286 MOC_DIR = .moc
287 OBJECTS_DIR = .obj
288
289 DEFINES += DATA_PATH=$(DATA_PATH)
290 DEFINES += DOC_PATH=$(DOC_PATH)
291 DEFINES += TRANSLATION_PATH=$(TRANSLATION_PATH)
292 DEFINES += THEMES_PATH=$(THEMES_PATH)
293 DEFINES += SHORTCUTS_PATH=$(SHORTCUTS_PATH)
294 #DEFINES += NO_DEBUG_ON_CONSOLE
295
296 #DEFINES += KDE_SUPPORT
297 #INCLUDEPATH += /opt/kde3/include/
298 #LIBS += -lkio -L/opt/kde3/lib/
299
300 #contains( DEFINES, KDE_SUPPORT) {
301 # HEADERS += mysystemtrayicon.h
302 # SOURCES += mysystemtrayicon.cpp
303 #}
304
305 #HEADERS += prefassociations.h winfileassoc.h
306 #SOURCES += prefassociations.cpp winfileassoc.cpp
307 #FORMS += prefassociations.ui
308}
309
310win32 {
311 DEFINES += SCREENSAVER_OFF
312 contains( DEFINES, SCREENSAVER_OFF ) {
313 HEADERS += screensaver.h
314 SOURCES += screensaver.cpp
315 }
316
317 !contains( DEFINES, PORTABLE_APP ) {
318 DEFINES += USE_ASSOCIATIONS
319 }
320
321 contains( DEFINES, USE_ASSOCIATIONS ) {
322 HEADERS += prefassociations.h winfileassoc.h
323 SOURCES += prefassociations.cpp winfileassoc.cpp
324 FORMS += prefassociations.ui
325 }
326
327 contains(TEMPLATE,vcapp) {
328 LIBS += ole32.lib user32.lib
329 } else {
330 LIBS += libole32
331 }
332
333 RC_FILE = smplayer.rc
334 DEFINES += NO_DEBUG_ON_CONSOLE
335# debug {
336# CONFIG += console
337# }
338}
339os2 {
340 DEFINES += NO_FONTCONFIG
341 DEFINES += SCREENSAVER_OFF
342 INCLUDEPATH += .
343 contains( DEFINES, SCREENSAVER_OFF ) {
344 HEADERS += screensaver.h
345 SOURCES += screensaver.cpp
346 }
347 RC_FILE = smplayer_os2.rc
348}
Note: See TracBrowser for help on using the repository browser.