| Line | |
|---|
| 1 | TEMPLATE = app
|
|---|
| 2 | LANGUAGE = C++
|
|---|
| 3 |
|
|---|
| 4 | CONFIG += qt warn_on release
|
|---|
| 5 |
|
|---|
| 6 | QT += network xml
|
|---|
| 7 |
|
|---|
| 8 | INCLUDEPATH += ..
|
|---|
| 9 | DEPENDPATH += ..
|
|---|
| 10 |
|
|---|
| 11 | HEADERS += simplehttp.h \
|
|---|
| 12 | osparser.h \
|
|---|
| 13 | ../filechooser.h \
|
|---|
| 14 | ../languages.h \
|
|---|
| 15 | findsubtitlesconfigdialog.h \
|
|---|
| 16 | findsubtitleswindow.h
|
|---|
| 17 |
|
|---|
| 18 | SOURCES += simplehttp.cpp \
|
|---|
| 19 | osparser.cpp \
|
|---|
| 20 | ../filechooser.cpp \
|
|---|
| 21 | ../languages.cpp \
|
|---|
| 22 | findsubtitlesconfigdialog.cpp \
|
|---|
| 23 | findsubtitleswindow.cpp \
|
|---|
| 24 | main.cpp
|
|---|
| 25 |
|
|---|
| 26 | FORMS += ../filechooser.ui findsubtitleswindow.ui findsubtitlesconfigdialog.ui
|
|---|
| 27 |
|
|---|
| 28 | DEFINES += NO_SMPLAYER_SUPPORT DOWNLOAD_SUBS
|
|---|
| 29 |
|
|---|
| 30 | contains( DEFINES, DOWNLOAD_SUBS ) {
|
|---|
| 31 | INCLUDEPATH += filedownloader quazip
|
|---|
| 32 | DEPENDPATH += filedownloader quazip
|
|---|
| 33 |
|
|---|
| 34 | HEADERS += filedownloader.h subchooserdialog.h
|
|---|
| 35 | SOURCES += filedownloader.cpp subchooserdialog.cpp
|
|---|
| 36 |
|
|---|
| 37 | FORMS += subchooserdialog.ui
|
|---|
| 38 |
|
|---|
| 39 | HEADERS += crypt.h \
|
|---|
| 40 | ioapi.h \
|
|---|
| 41 | quazip.h \
|
|---|
| 42 | quazipfile.h \
|
|---|
| 43 | quazipfileinfo.h \
|
|---|
| 44 | quazipnewinfo.h \
|
|---|
| 45 | unzip.h \
|
|---|
| 46 | zip.h
|
|---|
| 47 |
|
|---|
| 48 | SOURCES += ioapi.c \
|
|---|
| 49 | quazip.cpp \
|
|---|
| 50 | quazipfile.cpp \
|
|---|
| 51 | quazipnewinfo.cpp \
|
|---|
| 52 | unzip.c \
|
|---|
| 53 | zip.c
|
|---|
| 54 |
|
|---|
| 55 | LIBS += -lz
|
|---|
| 56 |
|
|---|
| 57 | win32 {
|
|---|
| 58 | INCLUDEPATH += c:\development\zlib-1.2.3
|
|---|
| 59 | LIBS += -Lc:\development\zlib-1.2.3
|
|---|
| 60 | }
|
|---|
| 61 | }
|
|---|
| 62 |
|
|---|
| 63 | unix {
|
|---|
| 64 | UI_DIR = .ui
|
|---|
| 65 | MOC_DIR = .moc
|
|---|
| 66 | OBJECTS_DIR = .obj
|
|---|
| 67 | }
|
|---|
| 68 |
|
|---|
| 69 | win32 {
|
|---|
| 70 | CONFIG += console
|
|---|
| 71 | }
|
|---|
| 72 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.