Changeset 128 for smplayer/trunk/src/smplayer.pro
- Timestamp:
- Mar 29, 2012, 4:53:15 PM (13 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 127
- Property svn:mergeinfo changed
-
smplayer/trunk/src/smplayer.pro
r124 r128 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 os2:SOURCES += qtlockedfile/qtlockedfile_unix.cpp228 }229 221 230 222 FORMS = inputdvddirectory.ui logwindowbase.ui filepropertiesdialog.ui \ … … 234 226 prefplaylist.ui preftv.ui favoriteeditor.ui \ 235 227 about.ui inputmplayerversion.ui errordialog.ui timedialog.ui \ 236 findsubtitles/findsubtitleswindow.ui findsubtitles/findsubtitlesconfigdialog.ui \ 237 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 238 358 239 359 TRANSLATIONS = translations/smplayer_es.ts translations/smplayer_de.ts \ … … 256 376 translations/smplayer_et.ts translations/smplayer_lt.ts \ 257 377 translations/smplayer_da.ts translations/smplayer_hr.ts 258 259 contains( DEFINES, DOWNLOAD_SUBS ) {260 INCLUDEPATH += findsubtitles/filedownloader findsubtitles/quazip261 DEPENDPATH += findsubtitles/filedownloader findsubtitles/quazip262 263 HEADERS += filedownloader.h subchooserdialog.h264 SOURCES += filedownloader.cpp subchooserdialog.cpp265 266 FORMS += subchooserdialog.ui267 268 HEADERS += crypt.h \269 ioapi.h \270 quazip.h \271 quazipfile.h \272 quazipfileinfo.h \273 quazipnewinfo.h \274 unzip.h \275 zip.h276 277 SOURCES += ioapi.c \278 quazip.cpp \279 quazipfile.cpp \280 quazipnewinfo.cpp \281 unzip.c \282 zip.c283 284 LIBS += -lz285 286 win32 {287 INCLUDEPATH += ..\\zlib-1.2.6288 LIBS += -L..\\zlib-1.2.6289 }290 }291 292 unix {293 UI_DIR = .ui294 MOC_DIR = .moc295 OBJECTS_DIR = .obj296 297 DEFINES += DATA_PATH=$(DATA_PATH)298 DEFINES += DOC_PATH=$(DOC_PATH)299 DEFINES += TRANSLATION_PATH=$(TRANSLATION_PATH)300 DEFINES += THEMES_PATH=$(THEMES_PATH)301 DEFINES += SHORTCUTS_PATH=$(SHORTCUTS_PATH)302 #DEFINES += NO_DEBUG_ON_CONSOLE303 304 #DEFINES += KDE_SUPPORT305 #INCLUDEPATH += /opt/kde3/include/306 #LIBS += -lkio -L/opt/kde3/lib/307 308 #contains( DEFINES, KDE_SUPPORT) {309 # HEADERS += mysystemtrayicon.h310 # SOURCES += mysystemtrayicon.cpp311 #}312 313 #HEADERS += prefassociations.h winfileassoc.h314 #SOURCES += prefassociations.cpp winfileassoc.cpp315 #FORMS += prefassociations.ui316 }317 318 win32 {319 DEFINES += SCREENSAVER_OFF320 contains( DEFINES, SCREENSAVER_OFF ) {321 HEADERS += screensaver.h322 SOURCES += screensaver.cpp323 }324 325 !contains( DEFINES, PORTABLE_APP ) {326 DEFINES += USE_ASSOCIATIONS327 }328 329 contains( DEFINES, USE_ASSOCIATIONS ) {330 HEADERS += prefassociations.h winfileassoc.h331 SOURCES += prefassociations.cpp winfileassoc.cpp332 FORMS += prefassociations.ui333 }334 335 contains(TEMPLATE,vcapp) {336 LIBS += ole32.lib user32.lib337 } else {338 LIBS += libole32339 }340 341 RC_FILE = smplayer.rc342 DEFINES += NO_DEBUG_ON_CONSOLE343 # debug {344 # CONFIG += console345 # }346 }347 348 os2 {349 DEFINES += SCREENSAVER_OFF350 INCLUDEPATH += .351 contains( DEFINES, SCREENSAVER_OFF ) {352 HEADERS += screensaver.h353 SOURCES += screensaver.cpp354 }355 RC_FILE = smplayer_os2.rc356 }
Note:
See TracChangeset
for help on using the changeset viewer.