Changeset 127 for smplayer/vendor/current/src/smplayer.pro
- Timestamp:
- Mar 29, 2012, 3:09:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/smplayer.pro
r121 r127 2 2 LANGUAGE = C++ 3 3 4 CONFIG += qt warn_on release 4 CONFIG += qt warn_on 5 CONFIG += release 6 #CONFIG += debug 5 7 6 8 QT += network xml … … 8 10 RESOURCES = icons.qrc 9 11 10 INCLUDEPATH += findsubtitles videopreview mpcgui youtube 11 DEPENDPATH += findsubtitles videopreview mpcgui youtube 12 13 DEFINES += USE_QTLOCKEDFILE 14 15 DEFINES += DOWNLOAD_SUBS 12 INCLUDEPATH += mpcgui 13 DEPENDPATH += mpcgui 14 15 #DEFINES += EXPERIMENTAL 16 DEFINES += SINGLE_INSTANCE 17 DEFINES += FIND_SUBTITLES 18 DEFINES += VIDEOPREVIEW 19 DEFINES += YOUTUBE_SUPPORT 20 DEFINES += TOOLBAR_EDITOR 21 DEFINES += GUI_CHANGE_ON_RUNTIME 22 DEFINES += LOG_MPLAYER 23 DEFINES += LOG_SMPLAYER 16 24 17 25 HEADERS += guiconfig.h \ … … 20 28 svn_revision.h \ 21 29 version.h \ 30 chapters.h \ 22 31 global.h \ 23 32 paths.h \ … … 45 54 filesettings.h \ 46 55 filesettingshash.h \ 56 filehash.h \ 47 57 tvsettings.h \ 48 58 images.h \ … … 51 61 recents.h \ 52 62 urlhistory.h \ 53 youtube/retrieveyoutubeurl.h \54 63 core.h \ 55 64 logwindow.h \ … … 68 77 languages.h \ 69 78 selectcolorbutton.h \ 79 simplehttp.h \ 70 80 prefwidget.h \ 71 81 prefgeneral.h \ … … 91 101 myaction.h \ 92 102 myactiongroup.h \ 93 myserver.h \94 myclient.h \95 103 filedialog.h \ 96 104 inputmplayerversion.h \ … … 98 106 errordialog.h \ 99 107 timedialog.h \ 100 findsubtitles/simplehttp.h \101 findsubtitles/osparser.h \102 findsubtitles/findsubtitlesconfigdialog.h \103 findsubtitles/findsubtitleswindow.h \104 videopreview/videopreview.h \105 videopreview/videopreviewconfigdialog.h \106 108 favorites.h \ 107 109 tvlist.h \ … … 112 114 widgetactions.h \ 113 115 toolbareditor.h \ 116 editabletoolbar.h \ 114 117 defaultgui.h \ 115 118 minigui.h \ 116 119 mpcgui/mpcgui.h \ 117 120 mpcgui/mpcstyles.h \ 121 clhelp.h \ 118 122 smplayer.h \ 119 clhelp.h123 myapplication.h 120 124 121 125 … … 123 127 global.cpp \ 124 128 paths.cpp \ 129 chapters.cpp \ 125 130 helper.cpp \ 126 131 colorutils.cpp \ … … 145 150 filesettings.cpp \ 146 151 filesettingshash.cpp \ 152 filehash.cpp \ 147 153 tvsettings.cpp \ 148 154 images.cpp \ … … 151 157 recents.cpp \ 152 158 urlhistory.cpp \ 153 youtube/retrieveyoutubeurl.cpp \154 159 core.cpp \ 155 160 logwindow.cpp \ … … 168 173 languages.cpp \ 169 174 selectcolorbutton.cpp \ 175 simplehttp.cpp \ 170 176 prefwidget.cpp \ 171 177 prefgeneral.cpp \ … … 191 197 myaction.cpp \ 192 198 myactiongroup.cpp \ 193 myserver.cpp \194 myclient.cpp \195 199 filedialog.cpp \ 196 200 inputmplayerversion.cpp \ … … 198 202 errordialog.cpp \ 199 203 timedialog.cpp \ 200 findsubtitles/simplehttp.cpp \201 findsubtitles/osparser.cpp \202 findsubtitles/findsubtitlesconfigdialog.cpp \203 findsubtitles/findsubtitleswindow.cpp \204 videopreview/videopreview.cpp \205 videopreview/videopreviewconfigdialog.cpp \206 204 favorites.cpp \ 207 205 tvlist.cpp \ … … 212 210 widgetactions.cpp \ 213 211 toolbareditor.cpp \ 212 editabletoolbar.cpp \ 214 213 defaultgui.cpp \ 215 214 minigui.cpp \ … … 218 217 clhelp.cpp \ 219 218 smplayer.cpp \ 219 myapplication.cpp \ 220 220 main.cpp 221 222 contains(DEFINES, USE_QTLOCKEDFILE) {223 HEADERS += qtlockedfile/qtlockedfile.h224 SOURCES += qtlockedfile/qtlockedfile.cpp225 unix:SOURCES += qtlockedfile/qtlockedfile_unix.cpp226 win32:SOURCES += qtlockedfile/qtlockedfile_win.cpp227 }228 221 229 222 FORMS = inputdvddirectory.ui logwindowbase.ui filepropertiesdialog.ui \ … … 233 226 prefplaylist.ui preftv.ui favoriteeditor.ui \ 234 227 about.ui inputmplayerversion.ui errordialog.ui timedialog.ui \ 235 findsubtitles/findsubtitleswindow.ui findsubtitles/findsubtitlesconfigdialog.ui \ 236 videopreview/videopreviewconfigdialog.ui 228 toolbareditor.ui 229 230 # qtsingleapplication 231 contains( DEFINES, SINGLE_INSTANCE ) { 232 INCLUDEPATH += qtsingleapplication 233 DEPENDPATH += qtsingleapplication 234 235 SOURCES += qtsingleapplication.cpp qtlocalpeer.cpp 236 HEADERS += qtsingleapplication.h qtlocalpeer.h 237 } 238 239 # Find subtitles dialog 240 contains( DEFINES, FIND_SUBTITLES ) { 241 DEFINES += DOWNLOAD_SUBS 242 243 INCLUDEPATH += findsubtitles 244 DEPENDPATH += findsubtitles 245 246 HEADERS += osparser.h findsubtitlesconfigdialog.h findsubtitleswindow.h 247 SOURCES += osparser.cpp findsubtitlesconfigdialog.cpp findsubtitleswindow.cpp 248 FORMS += findsubtitleswindow.ui findsubtitlesconfigdialog.ui 249 } 250 251 # Download subtitles 252 contains( 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 += ..\\zlib-1.2.6 281 LIBS += -L..\\zlib-1.2.6 282 } 283 } 284 285 # Youtube support 286 contains( DEFINES, YOUTUBE_SUPPORT ) { 287 INCLUDEPATH += youtube 288 DEPENDPATH += youtube 289 290 HEADERS += retrieveyoutubeurl.h 291 SOURCES += retrieveyoutubeurl.cpp 292 } 293 294 # Videopreview 295 contains( DEFINES, VIDEOPREVIEW ) { 296 INCLUDEPATH += videopreview 297 DEPENDPATH += videopreview 298 299 HEADERS += videopreview.h videopreviewconfigdialog.h 300 SOURCES += videopreview.cpp videopreviewconfigdialog.cpp 301 302 FORMS += videopreviewconfigdialog.ui 303 } 304 305 unix { 306 UI_DIR = .ui 307 MOC_DIR = .moc 308 OBJECTS_DIR = .obj 309 310 DEFINES += DATA_PATH=$(DATA_PATH) 311 DEFINES += DOC_PATH=$(DOC_PATH) 312 DEFINES += TRANSLATION_PATH=$(TRANSLATION_PATH) 313 DEFINES += THEMES_PATH=$(THEMES_PATH) 314 DEFINES += SHORTCUTS_PATH=$(SHORTCUTS_PATH) 315 #DEFINES += NO_DEBUG_ON_CONSOLE 316 } 317 318 win32 { 319 DEFINES += SCREENSAVER_OFF 320 contains( DEFINES, SCREENSAVER_OFF ) { 321 HEADERS += screensaver.h 322 SOURCES += screensaver.cpp 323 } 324 325 !contains( DEFINES, PORTABLE_APP ) { 326 DEFINES += USE_ASSOCIATIONS 327 } 328 329 contains( DEFINES, USE_ASSOCIATIONS ) { 330 HEADERS += prefassociations.h winfileassoc.h 331 SOURCES += prefassociations.cpp winfileassoc.cpp 332 FORMS += prefassociations.ui 333 } 334 335 contains(TEMPLATE,vcapp) { 336 LIBS += ole32.lib user32.lib 337 } else { 338 LIBS += libole32 339 } 340 341 RC_FILE = smplayer.rc 342 DEFINES += NO_DEBUG_ON_CONSOLE 343 # debug { 344 # CONFIG += console 345 # } 346 } 347 348 os2 { 349 DEFINES += SCREENSAVER_OFF 350 INCLUDEPATH += . 351 contains( DEFINES, SCREENSAVER_OFF ) { 352 HEADERS += screensaver.h 353 SOURCES += screensaver.cpp 354 } 355 RC_FILE = smplayer_os2.rc 356 } 357 237 358 238 359 TRANSLATIONS = translations/smplayer_es.ts translations/smplayer_de.ts \ … … 255 376 translations/smplayer_et.ts translations/smplayer_lt.ts \ 256 377 translations/smplayer_da.ts translations/smplayer_hr.ts 257 258 contains( DEFINES, DOWNLOAD_SUBS ) {259 INCLUDEPATH += findsubtitles/filedownloader findsubtitles/quazip260 DEPENDPATH += findsubtitles/filedownloader findsubtitles/quazip261 262 HEADERS += filedownloader.h subchooserdialog.h263 SOURCES += filedownloader.cpp subchooserdialog.cpp264 265 FORMS += subchooserdialog.ui266 267 HEADERS += crypt.h \268 ioapi.h \269 quazip.h \270 quazipfile.h \271 quazipfileinfo.h \272 quazipnewinfo.h \273 unzip.h \274 zip.h275 276 SOURCES += ioapi.c \277 quazip.cpp \278 quazipfile.cpp \279 quazipnewinfo.cpp \280 unzip.c \281 zip.c282 283 LIBS += -lz284 285 win32 {286 INCLUDEPATH += ..\\zlib-1.2.6287 LIBS += -L..\\zlib-1.2.6288 }289 }290 291 unix {292 UI_DIR = .ui293 MOC_DIR = .moc294 OBJECTS_DIR = .obj295 296 DEFINES += DATA_PATH=$(DATA_PATH)297 DEFINES += DOC_PATH=$(DOC_PATH)298 DEFINES += TRANSLATION_PATH=$(TRANSLATION_PATH)299 DEFINES += THEMES_PATH=$(THEMES_PATH)300 DEFINES += SHORTCUTS_PATH=$(SHORTCUTS_PATH)301 #DEFINES += NO_DEBUG_ON_CONSOLE302 303 #DEFINES += KDE_SUPPORT304 #INCLUDEPATH += /opt/kde3/include/305 #LIBS += -lkio -L/opt/kde3/lib/306 307 #contains( DEFINES, KDE_SUPPORT) {308 # HEADERS += mysystemtrayicon.h309 # SOURCES += mysystemtrayicon.cpp310 #}311 312 #HEADERS += prefassociations.h winfileassoc.h313 #SOURCES += prefassociations.cpp winfileassoc.cpp314 #FORMS += prefassociations.ui315 }316 317 win32 {318 DEFINES += SCREENSAVER_OFF319 contains( DEFINES, SCREENSAVER_OFF ) {320 HEADERS += screensaver.h321 SOURCES += screensaver.cpp322 }323 324 !contains( DEFINES, PORTABLE_APP ) {325 DEFINES += USE_ASSOCIATIONS326 }327 328 contains( DEFINES, USE_ASSOCIATIONS ) {329 HEADERS += prefassociations.h winfileassoc.h330 SOURCES += prefassociations.cpp winfileassoc.cpp331 FORMS += prefassociations.ui332 }333 334 contains(TEMPLATE,vcapp) {335 LIBS += ole32.lib user32.lib336 } else {337 LIBS += libole32338 }339 340 RC_FILE = smplayer.rc341 DEFINES += NO_DEBUG_ON_CONSOLE342 # debug {343 # CONFIG += console344 # }345 }346 347 os2 {348 DEFINES += SCREENSAVER_OFF349 INCLUDEPATH += .350 contains( DEFINES, SCREENSAVER_OFF ) {351 HEADERS += screensaver.h352 SOURCES += screensaver.cpp353 }354 RC_FILE = smplayer_os2.rc355 }
Note:
See TracChangeset
for help on using the changeset viewer.