aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/hotkey.pro
blob: 438c981e6ef434116f3af9f9b0d30fabc6b8483e (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
include(../../plugins.pri)

CONFIG += warn_on \
plugin  \
 lib  \
 link_pkgconfig


TARGET = $$PLUGINS_PREFIX/General/hotkey


TEMPLATE = lib

RESOURCES = translations/translations.qrc

target.path = $$LIB_DIR/qmmp/General

HEADERS += hotkeyfactory.h \
           hotkeymanager.h \
           settingsdialog.h \
           hotkeydialog.h

SOURCES += hotkeyfactory.cpp \
           settingsdialog.cpp \
           hotkeydialog.cpp \
           hotkeymanager_x11.cpp \
           hotkeymanager_win.cpp

FORMS += settingsdialog.ui \
         hotkeydialog.ui

unix {
    target.path = $$LIB_DIR/qmmp/General
    INSTALLS += target
    QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libhotkey.so
    PKGCONFIG += x11
    DEFINES += HAVE_XKBLIB_H
    LIBS += -lqmmpui -lqmmp
}

win32 {
    LIBS += -lqmmpui0 -lqmmp0
}