aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/gnomehotkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/gnomehotkey')
-rw-r--r--src/plugins/General/gnomehotkey/CMakeLists.txt10
-rw-r--r--src/plugins/General/gnomehotkey/gnomehotkey.pro16
2 files changed, 1 insertions, 25 deletions
diff --git a/src/plugins/General/gnomehotkey/CMakeLists.txt b/src/plugins/General/gnomehotkey/CMakeLists.txt
index af69b0483..f36beb0be 100644
--- a/src/plugins/General/gnomehotkey/CMakeLists.txt
+++ b/src/plugins/General/gnomehotkey/CMakeLists.txt
@@ -32,23 +32,15 @@ SET(libgnomehotkey_SRCS
mediakeys.cpp
)
-SET(libgnomehotkey_MOC_HDRS
- gnomehotkeyfactory.h
- mediakeys.h
-)
-
SET(libgnomehotkey_RCCS translations/translations.qrc)
QT4_ADD_RESOURCES(libgnomehotkey_RCC_SRCS ${libgnomehotkey_RCCS})
-QT4_WRAP_CPP(libgnomehotkey_MOC_SRCS ${libgnomehotkey_MOC_HDRS})
-
-
# Don't forget to include output directory, otherwise
# the UI file won't be wrapped!
include_directories(${CMAKE_CURRENT_BINARY_DIR})
-ADD_LIBRARY(gnomehotkey MODULE ${libgnomehotkey_SRCS} ${libgnomehotkey_MOC_SRCS} ${libgnomehotkey_RCC_SRCS})
+ADD_LIBRARY(gnomehotkey MODULE ${libgnomehotkey_SRCS} ${libgnomehotkey_RCC_SRCS})
add_dependencies(gnomehotkey qmmpui)
target_link_libraries(gnomehotkey ${QT_LIBRARIES} -lqmmpui -lqmmp)
install(TARGETS gnomehotkey DESTINATION ${LIB_DIR}/qmmp/General)
diff --git a/src/plugins/General/gnomehotkey/gnomehotkey.pro b/src/plugins/General/gnomehotkey/gnomehotkey.pro
index 5ae45e2aa..1c693f1b7 100644
--- a/src/plugins/General/gnomehotkey/gnomehotkey.pro
+++ b/src/plugins/General/gnomehotkey/gnomehotkey.pro
@@ -11,22 +11,6 @@ QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libgnomehotkey.so
TEMPLATE = lib
QMAKE_LIBDIR += ../../../../lib
-TRANSLATIONS = translations/gnomehotkey_plugin_cs.ts \
- translations/gnomehotkey_plugin_de.ts \
- translations/gnomehotkey_plugin_zh_CN.ts \
- translations/gnomehotkey_plugin_zh_TW.ts \
- translations/gnomehotkey_plugin_ru.ts \
- translations/gnomehotkey_plugin_pl.ts \
- translations/gnomehotkey_plugin_uk_UA.ts \
- translations/gnomehotkey_plugin_it.ts \
- translations/gnomehotkey_plugin_tr.ts \
- translations/gnomehotkey_plugin_lt.ts \
- translations/gnomehotkey_plugin_nl.ts \
- translations/gnomehotkey_plugin_ja.ts \
- translations/gnomehotkey_plugin_es.ts \
- translations/gnomehotkey_plugin_sr_BA.ts \
- translations/gnomehotkey_plugin_sr_RS.ts
-
RESOURCES = translations/translations.qrc
isEmpty(LIB_DIR){