aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/statusicon/statusicon.pro
blob: 3da40e0b62de2fc1c3550703265223b6c2666135 (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
include(../../plugins.pri)
INCLUDEPATH += ../../../../src
CONFIG += warn_on \
    plugin
unix:TARGET = $$PLUGINS_PREFIX/General/statusicon
unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libstatusicon.so
win32:TARGET = $$PLUGINS_PREFIX/General/statusicon
TEMPLATE = lib
unix {
    QMAKE_LIBDIR += ../../../../lib
    LIBS += -lqmmpui \
        -lqmmp
}
win32 {
    QMAKE_LIBDIR += ../../../../bin
    LIBS += -lqmmpui0 \
        -lqmmp0
}

RESOURCES = translations/translations.qrc
unix {
    isEmpty(LIB_DIR):LIB_DIR = /lib
    target.path = $$LIB_DIR/qmmp/General
    INSTALLS += target
}
RESOURCES += images/tray_images.qrc
HEADERS += statusiconfactory.h \
    statusicon.h \
    settingsdialog.h \
    qmmptrayicon.h \
    statusiconpopupwidget.h \
    coverwidget.h
SOURCES += statusiconfactory.cpp \
    statusicon.cpp \
    settingsdialog.cpp \
    qmmptrayicon.cpp \
    statusiconpopupwidget.cpp \
    coverwidget.cpp
FORMS += settingsdialog.ui
win32:HEADERS += ../../../../src/qmmpui/general.h