aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ui.pro
blob: fe38ac8c09480330e3c20bfa43ca10e9a9a191ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# ???? ?????? ? KDevelop ?????????? qmake.
# ------------------------------------------- 
# ?????????? ???????????? ???????? ???????? ???????: ./src
# ???? - ??????????:  ../bin/mp3player

include(../../qmmp.pri)

FORMS += ./forms/configdialog.ui \
         ./forms/preseteditor.ui \
         ./forms/jumptotrackdialog.ui \
         ./forms/aboutdialog.ui \
         ./forms/addurldialog.ui

HEADERS += mainwindow.h \
           button.h \
           display.h \
           skin.h \
           titlebar.h \
           positionbar.h \
           number.h \
           playlist.h \
           listwidget.h \
           pixmapwidget.h \
           playlisttitlebar.h \
           configdialog.h \
           playlistslider.h \
           dock.h \
           eqwidget.h \
           eqtitlebar.h \
           eqslider.h  \
           togglebutton.h \
           eqgraph.h  \
           mainvisual.h \
           inlines.h \
           fft.h \
           logscale.h \
           textscroller.h \
           monostereo.h \
           playstatus.h \
           pluginitem.h \
           volumebar.h \
           balancebar.h \
           symboldisplay.h \
           playlistcontrol.h \
           qmmpstarter.h \
           eqpreset.h \
           preseteditor.h \
           jumptotrackdialog.h \
           aboutdialog.h \
           timeindicator.h \
           keyboardmanager.h \
           addurldialog.h \
           skinreader.h \
           visualmenu.h \
           titlebarcontrol.h \
           shadedvisual.h \
           shadedbar.h \
           builtincommandlineoption.h

SOURCES += mainwindow.cpp \
           mp3player.cpp \
           button.cpp \
           display.cpp \
           skin.cpp \
           titlebar.cpp \
           positionbar.cpp \
           number.cpp \
           playlist.cpp \
           listwidget.cpp \
           pixmapwidget.cpp \
           playlisttitlebar.cpp \
           configdialog.cpp \
           playlistslider.cpp \
           dock.cpp \
           eqwidget.cpp \
           eqtitlebar.cpp \
           eqslider.cpp  \
           togglebutton.cpp \
           eqgraph.cpp  \
           mainvisual.cpp \
           fft.c \
           logscale.cpp \
           textscroller.cpp \
           monostereo.cpp \
           playstatus.cpp \
           pluginitem.cpp \
           volumebar.cpp \
           balancebar.cpp \
           symboldisplay.cpp \
           playlistcontrol.cpp \
           qmmpstarter.cpp \
           eqpreset.cpp \
           preseteditor.cpp \
           jumptotrackdialog.cpp \
           aboutdialog.cpp \
           timeindicator.cpp \
           keyboardmanager.cpp \
           addurldialog.cpp \
           skinreader.cpp \
           visualmenu.cpp \
           titlebarcontrol.cpp \
           shadedvisual.cpp \
           shadedbar.cpp \
           builtincommandlineoption.cpp

win32:HEADERS += ../qmmp/visual.h

unix{
HEADERS +=  unixdomainsocket.h
SOURCES +=  unixdomainsocket.cpp
}

#Some conf to redirect intermediate stuff in separate dirs
UI_DIR =./.build/ui/
MOC_DIR =./.build/moc/
OBJECTS_DIR =./.build/obj


QT += network
unix:TARGET = ../../bin/qmmp
win32:TARGET = ../../../bin/qmmp
CONFIG += thread release \
warn_on
QMAKE_LIBDIR += ../../lib qmmpui
LIBS += -Wl,-rpath,../lib
unix:LIBS += -L../../lib -lqmmp -lqmmpui
win32:LIBS += -L../../bin -lqmmp0 -lqmmpui0


INCLUDEPATH += ../
RESOURCES = images/images.qrc \
            stuff.qrc
TEMPLATE = app

unix{
target.path = /bin

desktop.files = qmmp.desktop \
                qmmp_enqueue.desktop
desktop.path = /share/applications

icon16.files = images/16x16/qmmp.png
icon32.files = images/32x32/qmmp.png
icon48.files = images/48x48/qmmp.png

icon16.path = /share/icons/hicolor/16x16/apps
icon32.path = /share/icons/hicolor/32x32/apps
icon48.path = /share/icons/hicolor/48x48/apps

INSTALLS += desktop target icon16 icon32 icon48
}

RESOURCES += translations/qmmp_locales.qrc

TRANSLATIONS = translations/qmmp_ru.ts \
               translations/qmmp_tr.ts \
               translations/qmmp_zh_CN.ts \
               translations/qmmp_cs.ts \
               translations/qmmp_pt_BR.ts \
               translations/qmmp_uk_UA.ts \
               translations/qmmp_zh_TW.ts \
               translations/qmmp_de.ts \
               translations/qmmp_pl_PL.ts \
               translations/qmmp_it.ts \
               translations/qmmp_lt.ts