| 1 | TEMPLATE = app
|
|---|
| 2 | LANGUAGE = C++
|
|---|
| 3 |
|
|---|
| 4 | CONFIG += qt warn_on
|
|---|
| 5 | CONFIG += release
|
|---|
| 6 | #CONFIG += debug
|
|---|
| 7 |
|
|---|
| 8 | QT += network xml
|
|---|
| 9 |
|
|---|
| 10 | RESOURCES = icons.qrc
|
|---|
| 11 |
|
|---|
| 12 | #DEFINES += EXPERIMENTAL
|
|---|
| 13 | DEFINES += SINGLE_INSTANCE
|
|---|
| 14 | DEFINES += FIND_SUBTITLES
|
|---|
| 15 | DEFINES += VIDEOPREVIEW
|
|---|
| 16 | DEFINES += YOUTUBE_SUPPORT
|
|---|
| 17 | DEFINES += YT_USE_SCRIPT
|
|---|
| 18 | DEFINES += BLURAY_SUPPORT
|
|---|
| 19 | DEFINES += GUI_CHANGE_ON_RUNTIME
|
|---|
| 20 | DEFINES += LOG_MPLAYER
|
|---|
| 21 | DEFINES += LOG_SMPLAYER
|
|---|
| 22 | DEFINES += MPCGUI
|
|---|
| 23 | DEFINES += SKINS
|
|---|
| 24 | DEFINES += UPDATE_CHECKER
|
|---|
| 25 | DEFINES += CHECK_UPGRADED
|
|---|
| 26 | DEFINES += REMINDER_ACTIONS
|
|---|
| 27 | #DEFINES += USE_FONTCONFIG_OPTIONS
|
|---|
| 28 |
|
|---|
| 29 | isEqual(QT_MAJOR_VERSION, 5) {
|
|---|
| 30 | QT += widgets gui
|
|---|
| 31 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000
|
|---|
| 32 | DEFINES -= MPCGUI
|
|---|
| 33 | }
|
|---|
| 34 |
|
|---|
| 35 | contains(QT_VERSION, ^4\\.[0-3]\\..*) {
|
|---|
| 36 | message("Some features requires Qt > 4.3.")
|
|---|
| 37 |
|
|---|
| 38 | contains( DEFINES, SINGLE_INSTANCE ) {
|
|---|
| 39 | DEFINES -= SINGLE_INSTANCE
|
|---|
| 40 | message("SINGLE_INSTANCE disabled.")
|
|---|
| 41 | }
|
|---|
| 42 |
|
|---|
| 43 | contains( DEFINES, YOUTUBE_SUPPORT ) {
|
|---|
| 44 | DEFINES -= YOUTUBE_SUPPORT
|
|---|
| 45 | message("YOUTUBE_SUPPORT disabled.")
|
|---|
| 46 | }
|
|---|
| 47 |
|
|---|
| 48 | contains( DEFINES, SKINS ) {
|
|---|
| 49 | DEFINES -= SKINS
|
|---|
| 50 | message("SKINS disabled.")
|
|---|
| 51 | }
|
|---|
| 52 |
|
|---|
| 53 | contains( DEFINES, FIND_SUBTITLES ) {
|
|---|
| 54 | DEFINES -= FIND_SUBTITLES
|
|---|
| 55 | message("FIND_SUBTITLES disabled.")
|
|---|
| 56 | }
|
|---|
| 57 |
|
|---|
| 58 | contains( DEFINES, UPDATE_CHECKER ) {
|
|---|
| 59 | DEFINES -= UPDATE_CHECKER
|
|---|
| 60 | message("UPDATE_CHECKER disabled.")
|
|---|
| 61 | }
|
|---|
| 62 | }
|
|---|
| 63 |
|
|---|
| 64 | HEADERS += guiconfig.h \
|
|---|
| 65 | config.h \
|
|---|
| 66 | constants.h \
|
|---|
| 67 | svn_revision.h \
|
|---|
| 68 | version.h \
|
|---|
| 69 | chapters.h \
|
|---|
| 70 | global.h \
|
|---|
| 71 | paths.h \
|
|---|
| 72 | helper.h \
|
|---|
| 73 | colorutils.h \
|
|---|
| 74 | translator.h \
|
|---|
| 75 | subtracks.h \
|
|---|
| 76 | tracks.h \
|
|---|
| 77 | titletracks.h \
|
|---|
| 78 | discname.h \
|
|---|
| 79 | extensions.h \
|
|---|
| 80 | desktopinfo.h \
|
|---|
| 81 | myprocess.h \
|
|---|
| 82 | mplayerversion.h \
|
|---|
| 83 | mplayerprocess.h \
|
|---|
| 84 | infoprovider.h \
|
|---|
| 85 | mplayerwindow.h \
|
|---|
| 86 | mediadata.h \
|
|---|
| 87 | audioequalizerlist.h \
|
|---|
| 88 | mediasettings.h \
|
|---|
| 89 | assstyles.h \
|
|---|
| 90 | filters.h \
|
|---|
| 91 | preferences.h \
|
|---|
| 92 | filesettingsbase.h \
|
|---|
| 93 | filesettings.h \
|
|---|
| 94 | filesettingshash.h \
|
|---|
| 95 | filehash.h \
|
|---|
| 96 | tvsettings.h \
|
|---|
| 97 | images.h \
|
|---|
| 98 | inforeader.h \
|
|---|
| 99 | deviceinfo.h \
|
|---|
| 100 | recents.h \
|
|---|
| 101 | urlhistory.h \
|
|---|
| 102 | core.h \
|
|---|
| 103 | logwindow.h \
|
|---|
| 104 | infofile.h \
|
|---|
| 105 | seekwidget.h \
|
|---|
| 106 | mytablewidget.h \
|
|---|
| 107 | shortcutgetter.h \
|
|---|
| 108 | actionseditor.h \
|
|---|
| 109 | filechooser.h \
|
|---|
| 110 | vdpauproperties.h \
|
|---|
| 111 | preferencesdialog.h \
|
|---|
| 112 | lineedit_with_icon.h \
|
|---|
| 113 | mylineedit.h \
|
|---|
| 114 | mycombobox.h \
|
|---|
| 115 | tristatecombo.h \
|
|---|
| 116 | languages.h \
|
|---|
| 117 | selectcolorbutton.h \
|
|---|
| 118 | prefwidget.h \
|
|---|
| 119 | prefgeneral.h \
|
|---|
| 120 | prefdrives.h \
|
|---|
| 121 | prefinterface.h \
|
|---|
| 122 | prefperformance.h \
|
|---|
| 123 | prefinput.h \
|
|---|
| 124 | prefsubtitles.h \
|
|---|
| 125 | prefadvanced.h \
|
|---|
| 126 | prefplaylist.h \
|
|---|
| 127 | preftv.h \
|
|---|
| 128 | prefupdates.h \
|
|---|
| 129 | filepropertiesdialog.h \
|
|---|
| 130 | multilineinputdialog.h \
|
|---|
| 131 | playlist.h \
|
|---|
| 132 | playlistdock.h \
|
|---|
| 133 | verticaltext.h \
|
|---|
| 134 | eqslider.h \
|
|---|
| 135 | videoequalizer.h \
|
|---|
| 136 | audioequalizer.h \
|
|---|
| 137 | myslider.h \
|
|---|
| 138 | timeslider.h \
|
|---|
| 139 | inputdvddirectory.h \
|
|---|
| 140 | inputurl.h \
|
|---|
| 141 | myaction.h \
|
|---|
| 142 | myactiongroup.h \
|
|---|
| 143 | filedialog.h \
|
|---|
| 144 | inputmplayerversion.h \
|
|---|
| 145 | about.h \
|
|---|
| 146 | errordialog.h \
|
|---|
| 147 | timedialog.h \
|
|---|
| 148 | favorites.h \
|
|---|
| 149 | tvlist.h \
|
|---|
| 150 | favoriteeditor.h \
|
|---|
| 151 | basegui.h \
|
|---|
| 152 | baseguiplus.h \
|
|---|
| 153 | autohidewidget.h \
|
|---|
| 154 | widgetactions.h \
|
|---|
| 155 | toolbareditor.h \
|
|---|
| 156 | editabletoolbar.h \
|
|---|
| 157 | defaultgui.h \
|
|---|
| 158 | minigui.h \
|
|---|
| 159 | clhelp.h \
|
|---|
| 160 | cleanconfig.h \
|
|---|
| 161 | smplayer.h \
|
|---|
| 162 | myapplication.h
|
|---|
| 163 |
|
|---|
| 164 |
|
|---|
| 165 | SOURCES += version.cpp \
|
|---|
| 166 | global.cpp \
|
|---|
| 167 | paths.cpp \
|
|---|
| 168 | chapters.cpp \
|
|---|
| 169 | helper.cpp \
|
|---|
| 170 | colorutils.cpp \
|
|---|
| 171 | translator.cpp \
|
|---|
| 172 | subtracks.cpp \
|
|---|
| 173 | tracks.cpp \
|
|---|
| 174 | titletracks.cpp \
|
|---|
| 175 | discname.cpp \
|
|---|
| 176 | extensions.cpp \
|
|---|
| 177 | desktopinfo.cpp \
|
|---|
| 178 | myprocess.cpp \
|
|---|
| 179 | mplayerversion.cpp \
|
|---|
| 180 | mplayerprocess.cpp \
|
|---|
| 181 | infoprovider.cpp \
|
|---|
| 182 | mplayerwindow.cpp \
|
|---|
| 183 | mediadata.cpp \
|
|---|
| 184 | mediasettings.cpp \
|
|---|
| 185 | assstyles.cpp \
|
|---|
| 186 | filters.cpp \
|
|---|
| 187 | preferences.cpp \
|
|---|
| 188 | filesettingsbase.cpp \
|
|---|
| 189 | filesettings.cpp \
|
|---|
| 190 | filesettingshash.cpp \
|
|---|
| 191 | filehash.cpp \
|
|---|
| 192 | tvsettings.cpp \
|
|---|
| 193 | images.cpp \
|
|---|
| 194 | inforeader.cpp \
|
|---|
| 195 | deviceinfo.cpp \
|
|---|
| 196 | recents.cpp \
|
|---|
| 197 | urlhistory.cpp \
|
|---|
| 198 | core.cpp \
|
|---|
| 199 | logwindow.cpp \
|
|---|
| 200 | infofile.cpp \
|
|---|
| 201 | seekwidget.cpp \
|
|---|
| 202 | mytablewidget.cpp \
|
|---|
| 203 | shortcutgetter.cpp \
|
|---|
| 204 | actionseditor.cpp \
|
|---|
| 205 | filechooser.cpp \
|
|---|
| 206 | vdpauproperties.cpp \
|
|---|
| 207 | preferencesdialog.cpp \
|
|---|
| 208 | lineedit_with_icon.cpp \
|
|---|
| 209 | mylineedit.cpp \
|
|---|
| 210 | mycombobox.cpp \
|
|---|
| 211 | tristatecombo.cpp \
|
|---|
| 212 | languages.cpp \
|
|---|
| 213 | selectcolorbutton.cpp \
|
|---|
| 214 | prefwidget.cpp \
|
|---|
| 215 | prefgeneral.cpp \
|
|---|
| 216 | prefdrives.cpp \
|
|---|
| 217 | prefinterface.cpp \
|
|---|
| 218 | prefperformance.cpp \
|
|---|
| 219 | prefinput.cpp \
|
|---|
| 220 | prefsubtitles.cpp \
|
|---|
| 221 | prefadvanced.cpp \
|
|---|
| 222 | prefplaylist.cpp \
|
|---|
| 223 | preftv.cpp \
|
|---|
| 224 | prefupdates.cpp \
|
|---|
| 225 | filepropertiesdialog.cpp \
|
|---|
| 226 | multilineinputdialog.cpp \
|
|---|
| 227 | playlist.cpp \
|
|---|
| 228 | playlistdock.cpp \
|
|---|
| 229 | verticaltext.cpp \
|
|---|
| 230 | eqslider.cpp \
|
|---|
| 231 | videoequalizer.cpp \
|
|---|
| 232 | audioequalizer.cpp \
|
|---|
| 233 | myslider.cpp \
|
|---|
| 234 | timeslider.cpp \
|
|---|
| 235 | inputdvddirectory.cpp \
|
|---|
| 236 | inputurl.cpp \
|
|---|
| 237 | myaction.cpp \
|
|---|
| 238 | myactiongroup.cpp \
|
|---|
| 239 | filedialog.cpp \
|
|---|
| 240 | inputmplayerversion.cpp \
|
|---|
| 241 | about.cpp \
|
|---|
| 242 | errordialog.cpp \
|
|---|
| 243 | timedialog.cpp \
|
|---|
| 244 | favorites.cpp \
|
|---|
| 245 | tvlist.cpp \
|
|---|
| 246 | favoriteeditor.cpp \
|
|---|
| 247 | basegui.cpp \
|
|---|
| 248 | baseguiplus.cpp \
|
|---|
| 249 | autohidewidget.cpp \
|
|---|
| 250 | widgetactions.cpp \
|
|---|
| 251 | toolbareditor.cpp \
|
|---|
| 252 | editabletoolbar.cpp \
|
|---|
| 253 | defaultgui.cpp \
|
|---|
| 254 | minigui.cpp \
|
|---|
| 255 | clhelp.cpp \
|
|---|
| 256 | cleanconfig.cpp \
|
|---|
| 257 | smplayer.cpp \
|
|---|
| 258 | myapplication.cpp \
|
|---|
| 259 | main.cpp
|
|---|
| 260 |
|
|---|
| 261 | FORMS = inputdvddirectory.ui logwindowbase.ui filepropertiesdialog.ui \
|
|---|
| 262 | eqslider.ui seekwidget.ui inputurl.ui videoequalizer.ui vdpauproperties.ui \
|
|---|
| 263 | preferencesdialog.ui prefgeneral.ui prefdrives.ui prefinterface.ui \
|
|---|
| 264 | prefperformance.ui prefinput.ui prefsubtitles.ui prefadvanced.ui \
|
|---|
| 265 | prefplaylist.ui preftv.ui prefupdates.ui favoriteeditor.ui \
|
|---|
| 266 | about.ui inputmplayerversion.ui errordialog.ui timedialog.ui \
|
|---|
| 267 | toolbareditor.ui multilineinputdialog.ui
|
|---|
| 268 |
|
|---|
| 269 | # qtsingleapplication
|
|---|
| 270 | contains( DEFINES, SINGLE_INSTANCE ) {
|
|---|
| 271 | INCLUDEPATH += qtsingleapplication
|
|---|
| 272 | DEPENDPATH += qtsingleapplication
|
|---|
| 273 |
|
|---|
| 274 | SOURCES += qtsingleapplication/qtsingleapplication.cpp qtsingleapplication/qtlocalpeer.cpp
|
|---|
| 275 | HEADERS += qtsingleapplication/qtsingleapplication.h qtsingleapplication/qtlocalpeer.h
|
|---|
| 276 | }
|
|---|
| 277 |
|
|---|
| 278 | # Find subtitles dialog
|
|---|
| 279 | contains( DEFINES, FIND_SUBTITLES ) {
|
|---|
| 280 | DEFINES += DOWNLOAD_SUBS
|
|---|
| 281 | #DEFINES += USE_QUAZIP
|
|---|
| 282 |
|
|---|
| 283 | INCLUDEPATH += findsubtitles
|
|---|
| 284 | DEPENDPATH += findsubtitles
|
|---|
| 285 |
|
|---|
| 286 | INCLUDEPATH += findsubtitles/maia
|
|---|
| 287 | DEPENDPATH += findsubtitles/maia
|
|---|
| 288 |
|
|---|
| 289 | HEADERS += findsubtitles/findsubtitlesconfigdialog.h findsubtitles/findsubtitleswindow.h
|
|---|
| 290 | SOURCES += findsubtitles/findsubtitlesconfigdialog.cpp findsubtitles/findsubtitleswindow.cpp
|
|---|
| 291 | FORMS += findsubtitles/findsubtitleswindow.ui findsubtitles/findsubtitlesconfigdialog.ui
|
|---|
| 292 |
|
|---|
| 293 | # xmlrpc client code to connect to opensubtitles.org
|
|---|
| 294 | HEADERS += findsubtitles/maia/maiaObject.h findsubtitles/maia/maiaFault.h findsubtitles/maia/maiaXmlRpcClient.h findsubtitles/osclient.h
|
|---|
| 295 | SOURCES += findsubtitles/maia/maiaObject.cpp findsubtitles/maia/maiaFault.cpp findsubtitles/maia/maiaXmlRpcClient.cpp findsubtitles/osclient.cpp
|
|---|
| 296 | }
|
|---|
| 297 |
|
|---|
| 298 | # Download subtitles
|
|---|
| 299 | contains( DEFINES, DOWNLOAD_SUBS ) {
|
|---|
| 300 | INCLUDEPATH += findsubtitles/filedownloader
|
|---|
| 301 | DEPENDPATH += findsubtitles/filedownloader
|
|---|
| 302 |
|
|---|
| 303 | HEADERS += findsubtitles/filedownloader/filedownloader.h findsubtitles/subchooserdialog.h findsubtitles/fixsubs.h
|
|---|
| 304 | SOURCES += findsubtitles/filedownloader/filedownloader.cpp findsubtitles/subchooserdialog.cpp findsubtitles/fixsubs.cpp
|
|---|
| 305 |
|
|---|
| 306 | FORMS += findsubtitles/subchooserdialog.ui
|
|---|
| 307 |
|
|---|
| 308 | contains( DEFINES, USE_QUAZIP ) {
|
|---|
| 309 | INCLUDEPATH += findsubtitles/quazip
|
|---|
| 310 | DEPENDPATH += findsubtitles/quazip
|
|---|
| 311 |
|
|---|
| 312 | HEADERS += crypt.h \
|
|---|
| 313 | ioapi.h \
|
|---|
| 314 | quazip.h \
|
|---|
| 315 | quazipfile.h \
|
|---|
| 316 | quazipfileinfo.h \
|
|---|
| 317 | quazipnewinfo.h \
|
|---|
| 318 | unzip.h \
|
|---|
| 319 | zip.h
|
|---|
| 320 |
|
|---|
| 321 | SOURCES += ioapi.c \
|
|---|
| 322 | quazip.cpp \
|
|---|
| 323 | quazipfile.cpp \
|
|---|
| 324 | quazipnewinfo.cpp \
|
|---|
| 325 | unzip.c \
|
|---|
| 326 | zip.c
|
|---|
| 327 | }
|
|---|
| 328 |
|
|---|
| 329 | LIBS += -lz
|
|---|
| 330 |
|
|---|
| 331 | win32 {
|
|---|
| 332 | INCLUDEPATH += ..\\zlib
|
|---|
| 333 | LIBS += -L..\\zlib
|
|---|
| 334 | }
|
|---|
| 335 | }
|
|---|
| 336 |
|
|---|
| 337 | # Youtube support
|
|---|
| 338 | contains( DEFINES, YOUTUBE_SUPPORT ) {
|
|---|
| 339 | INCLUDEPATH += youtube
|
|---|
| 340 | DEPENDPATH += youtube
|
|---|
| 341 |
|
|---|
| 342 | HEADERS += youtube/retrieveyoutubeurl.h youtube/ytsig.h
|
|---|
| 343 | SOURCES += youtube/retrieveyoutubeurl.cpp youtube/ytsig.cpp
|
|---|
| 344 |
|
|---|
| 345 | contains( DEFINES, YT_USE_SCRIPT ) {
|
|---|
| 346 | HEADERS += youtube/codedownloader.h
|
|---|
| 347 | SOURCES += youtube/codedownloader.cpp
|
|---|
| 348 | QT += script
|
|---|
| 349 | } else {
|
|---|
| 350 | #DEFINES += YTSIG_STATIC
|
|---|
| 351 | }
|
|---|
| 352 | }
|
|---|
| 353 |
|
|---|
| 354 | # mpcgui
|
|---|
| 355 | contains( DEFINES, MPCGUI ) {
|
|---|
| 356 | INCLUDEPATH += mpcgui
|
|---|
| 357 | DEPENDPATH += mpcgui
|
|---|
| 358 |
|
|---|
| 359 | HEADERS += mpcgui/mpcgui.h mpcgui/mpcstyles.h
|
|---|
| 360 | SOURCES += mpcgui/mpcgui.cpp mpcgui/mpcstyles.cpp
|
|---|
| 361 | }
|
|---|
| 362 |
|
|---|
| 363 | # Skins support
|
|---|
| 364 | contains( DEFINES, SKINS ) {
|
|---|
| 365 | INCLUDEPATH += skingui
|
|---|
| 366 | DEPENDPATH += skingui
|
|---|
| 367 |
|
|---|
| 368 | HEADERS += skingui/myicon.h skingui/mybutton.h skingui/panelseeker.h skingui/playcontrol.h \
|
|---|
| 369 | skingui/mediapanel.h skingui/volumecontrolpanel.h skingui/mediabarpanel.h \
|
|---|
| 370 | skingui/qpropertysetter.h skingui/actiontools.h skingui/skingui.h
|
|---|
| 371 | SOURCES += skingui/myicon.cpp skingui/mybutton.cpp skingui/panelseeker.cpp skingui/playcontrol.cpp \
|
|---|
| 372 | skingui/mediapanel.cpp skingui/volumecontrolpanel.cpp skingui/mediabarpanel.cpp \
|
|---|
| 373 | skingui/qpropertysetter.cpp skingui/actiontools.cpp skingui/skingui.cpp
|
|---|
| 374 | FORMS += skingui/mediapanel.ui skingui/mediabarpanel.ui
|
|---|
| 375 | }
|
|---|
| 376 |
|
|---|
| 377 | # Update checker
|
|---|
| 378 | contains( DEFINES, UPDATE_CHECKER ) {
|
|---|
| 379 | HEADERS += updatechecker.h
|
|---|
| 380 | SOURCES += updatechecker.CPP
|
|---|
| 381 | }
|
|---|
| 382 |
|
|---|
| 383 | # Videopreview
|
|---|
| 384 | contains( DEFINES, VIDEOPREVIEW ) {
|
|---|
| 385 | INCLUDEPATH += videopreview
|
|---|
| 386 | DEPENDPATH += videopreview
|
|---|
| 387 |
|
|---|
| 388 | HEADERS += videopreview/videopreview.h videopreview/videopreviewconfigdialog.h
|
|---|
| 389 | SOURCES += videopreview/videopreview.cpp videopreview/videopreviewconfigdialog.cpp
|
|---|
| 390 |
|
|---|
| 391 | FORMS += videopreview/videopreviewconfigdialog.ui
|
|---|
| 392 | }
|
|---|
| 393 |
|
|---|
| 394 | contains( DEFINES, REMINDER_ACTIONS ) {
|
|---|
| 395 | HEADERS += sharedialog.h
|
|---|
| 396 | SOURCES += sharedialog.cpp
|
|---|
| 397 | FORMS += sharedialog.ui
|
|---|
| 398 | }
|
|---|
| 399 |
|
|---|
| 400 | unix {
|
|---|
| 401 | UI_DIR = .ui
|
|---|
| 402 | MOC_DIR = .moc
|
|---|
| 403 | OBJECTS_DIR = .obj
|
|---|
| 404 |
|
|---|
| 405 | DEFINES += DATA_PATH=$(DATA_PATH)
|
|---|
| 406 | DEFINES += DOC_PATH=$(DOC_PATH)
|
|---|
| 407 | DEFINES += TRANSLATION_PATH=$(TRANSLATION_PATH)
|
|---|
| 408 | DEFINES += THEMES_PATH=$(THEMES_PATH)
|
|---|
| 409 | DEFINES += SHORTCUTS_PATH=$(SHORTCUTS_PATH)
|
|---|
| 410 | #DEFINES += NO_DEBUG_ON_CONSOLE
|
|---|
| 411 | }
|
|---|
| 412 |
|
|---|
| 413 | win32 {
|
|---|
| 414 | DEFINES += SCREENSAVER_OFF
|
|---|
| 415 | #DEFINES += AVOID_SCREENSAVER
|
|---|
| 416 | #DEFINES += FONTCACHE_DIALOG
|
|---|
| 417 | DEFINES += USE_FONTCONFIG_OPTIONS
|
|---|
| 418 |
|
|---|
| 419 | contains( DEFINES, SCREENSAVER_OFF ) {
|
|---|
| 420 | HEADERS += screensaver.h
|
|---|
| 421 | SOURCES += screensaver.cpp
|
|---|
| 422 | }
|
|---|
| 423 |
|
|---|
| 424 | contains( DEFINES, FONTCACHE_DIALOG ) {
|
|---|
| 425 | HEADERS += fontcache.h
|
|---|
| 426 | SOURCES += fontcache.cpp
|
|---|
| 427 | }
|
|---|
| 428 |
|
|---|
| 429 | !contains( DEFINES, PORTABLE_APP ) {
|
|---|
| 430 | DEFINES += USE_ASSOCIATIONS
|
|---|
| 431 | }
|
|---|
| 432 |
|
|---|
| 433 | contains( DEFINES, USE_ASSOCIATIONS ) {
|
|---|
| 434 | HEADERS += prefassociations.h winfileassoc.h
|
|---|
| 435 | SOURCES += prefassociations.cpp winfileassoc.cpp
|
|---|
| 436 | FORMS += prefassociations.ui
|
|---|
| 437 | }
|
|---|
| 438 |
|
|---|
| 439 | contains(TEMPLATE,vcapp) {
|
|---|
| 440 | LIBS += ole32.lib user32.lib
|
|---|
| 441 | } else {
|
|---|
| 442 | LIBS += libole32
|
|---|
| 443 | }
|
|---|
| 444 |
|
|---|
| 445 | RC_FILE = smplayer.rc
|
|---|
| 446 | DEFINES += NO_DEBUG_ON_CONSOLE
|
|---|
| 447 | #debug {
|
|---|
| 448 | # CONFIG += console
|
|---|
| 449 | #}
|
|---|
| 450 | }
|
|---|
| 451 |
|
|---|
| 452 | os2 {
|
|---|
| 453 | DEFINES += SCREENSAVER_OFF
|
|---|
| 454 | INCLUDEPATH += .
|
|---|
| 455 | contains( DEFINES, SCREENSAVER_OFF ) {
|
|---|
| 456 | HEADERS += screensaver.h
|
|---|
| 457 | SOURCES += screensaver.cpp
|
|---|
| 458 | }
|
|---|
| 459 | RC_FILE = smplayer_os2.rc
|
|---|
| 460 | }
|
|---|
| 461 |
|
|---|
| 462 |
|
|---|
| 463 | TRANSLATIONS = translations/smplayer_es.ts translations/smplayer_de.ts \
|
|---|
| 464 | translations/smplayer_sk.ts translations/smplayer_it.ts \
|
|---|
| 465 | translations/smplayer_fr.ts translations/smplayer_zh_CN.ts \
|
|---|
| 466 | translations/smplayer_ru_RU.ts translations/smplayer_hu.ts \
|
|---|
| 467 | translations/smplayer_en_US.ts translations/smplayer_pl.ts \
|
|---|
| 468 | translations/smplayer_ja.ts translations/smplayer_nl.ts \
|
|---|
| 469 | translations/smplayer_uk_UA.ts translations/smplayer_pt_BR.ts \
|
|---|
| 470 | translations/smplayer_ka.ts translations/smplayer_cs.ts \
|
|---|
| 471 | translations/smplayer_bg.ts translations/smplayer_tr.ts \
|
|---|
| 472 | translations/smplayer_sv.ts translations/smplayer_sr.ts \
|
|---|
| 473 | translations/smplayer_zh_TW.ts translations/smplayer_ro_RO.ts \
|
|---|
| 474 | translations/smplayer_pt.ts translations/smplayer_el_GR.ts \
|
|---|
| 475 | translations/smplayer_fi.ts translations/smplayer_ko.ts \
|
|---|
| 476 | translations/smplayer_mk.ts translations/smplayer_eu.ts \
|
|---|
| 477 | translations/smplayer_ca.ts translations/smplayer_sl_SI.ts \
|
|---|
| 478 | translations/smplayer_ar_SY.ts translations/smplayer_ku.ts \
|
|---|
| 479 | translations/smplayer_gl.ts translations/smplayer_vi_VN.ts \
|
|---|
| 480 | translations/smplayer_et.ts translations/smplayer_lt.ts \
|
|---|
| 481 | translations/smplayer_da.ts translations/smplayer_hr.ts \
|
|---|
| 482 | translations/smplayer_he_IL.ts translations/smplayer_th.ts \
|
|---|
| 483 | translations/smplayer_ms_MY.ts translations/smplayer_uz.ts \
|
|---|
| 484 | translations/smplayer_nn_NO.ts translations/smplayer_id.ts \
|
|---|
| 485 | translations/smplayer_ar.ts translations/smplayer_en_GB.ts
|
|---|