diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-11 12:11:48 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-11 12:11:48 +0000 |
| commit | bfa4ea1b72c633ec1ec9c361e1ad67d611c1a101 (patch) | |
| tree | fc28ddacd1ab4dfe9088d07680cc208889ab9870 /src/plugins/General/hotkey/hotkey.pro | |
| parent | 7801fde7f7d8cf280e0229df807505abea194a86 (diff) | |
| download | qmmp-bfa4ea1b72c633ec1ec9c361e1ad67d611c1a101.tar.gz qmmp-bfa4ea1b72c633ec1ec9c361e1ad67d611c1a101.tar.bz2 qmmp-bfa4ea1b72c633ec1ec9c361e1ad67d611c1a101.zip | |
global hotkey manager: prepare for windows support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3227 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/hotkey/hotkey.pro')
| -rw-r--r-- | src/plugins/General/hotkey/hotkey.pro | 122 |
1 files changed, 68 insertions, 54 deletions
diff --git a/src/plugins/General/hotkey/hotkey.pro b/src/plugins/General/hotkey/hotkey.pro index 3e2443f6f..7ff1554b2 100644 --- a/src/plugins/General/hotkey/hotkey.pro +++ b/src/plugins/General/hotkey/hotkey.pro @@ -1,54 +1,68 @@ -include(../../plugins.pri) - -CONFIG += release \ -warn_on \ -plugin \ - lib \ - link_pkgconfig - -PKGCONFIG += x11 -DEFINES += HAVE_XKBLIB_H - -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 \ - settingsdialog.cpp \ - hotkeydialog.cpp \ - hotkeymanager_x11.cpp - -INCLUDEPATH += ../../../../src - -LIBS += -lqmmpui -lqmmp - -FORMS += settingsdialog.ui \ - hotkeydialog.ui +include(../../plugins.pri)
+
+CONFIG += release \
+warn_on \
+plugin \
+ lib \
+ link_pkgconfig
+
+
+TARGET = $$PLUGINS_PREFIX/General/hotkey
+
+
+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
+
+target.path = $$LIB_DIR/qmmp/General
+INSTALLS += target
+
+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
+
+
+INCLUDEPATH += ../../../../src
+
+unix {
+ isEmpty(LIB_DIR){
+ LIB_DIR = /lib
+ }
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+ QMAKE_LIBDIR += ../../../../lib
+ QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libhotkey.so
+ PKGCONFIG += x11
+ DEFINES += HAVE_XKBLIB_H
+ LIBS += -lqmmpui -lqmmp
+}
+
+win32 {
+ QMAKE_LIBDIR += ../../../../bin
+ LIBS += -lqmmpui0 -lqmmp0
+}
+
|
