aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/hotkey.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hotkey/hotkey.pro')
-rw-r--r--src/plugins/General/hotkey/hotkey.pro43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/plugins/General/hotkey/hotkey.pro b/src/plugins/General/hotkey/hotkey.pro
new file mode 100644
index 000000000..8d69f8c70
--- /dev/null
+++ b/src/plugins/General/hotkey/hotkey.pro
@@ -0,0 +1,43 @@
+include(../../plugins.pri)
+
+CONFIG += release \
+warn_on \
+plugin \
+ lib
+
+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_uk_UA.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