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

CONFIG += release \
warn_on \
plugin  \
 lib  \
 link_pkgconfig

PKGCONFIG += x11

TARGET = $$PLUGINS_PREFIX/General/hotkey
QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libhotkey.so

TEMPLATE = lib
QMAKE_LIBDIR += ../../../../lib

TRANSLATIONS = translations/hotkey_plugin_cs.ts \
               translations/hotkey_plugin_de.ts \
               translations/hotkey_plugin_zh_CN.ts \
               translations/hotkey_plugin_zh_TW.ts \
               translations/hotkey_plugin_ru.ts \
               translations/hotkey_plugin_pl.ts \
               translations/hotkey_plugin_uk_UA.ts \
               translations/hotkey_plugin_it.ts \
               translations/hotkey_plugin_tr.ts \
               translations/hotkey_plugin_lt.ts \
               translations/hotkey_plugin_nl.ts \
               translations/hotkey_plugin_ja.ts \
               translations/hotkey_plugin_es.ts
RESOURCES = translations/translations.qrc

isEmpty(LIB_DIR){
    LIB_DIR = /lib
}
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target

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

SOURCES += hotkeyfactory.cpp \
           hotkeymanager.cpp \
           settingsdialog.cpp \
           hotkeydialog.cpp

INCLUDEPATH += ../../../../src

LIBS += -lqmmpui -lqmmp

FORMS += settingsdialog.ui \
         hotkeydialog.ui