aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General')
-rw-r--r--src/plugins/General/hal/hal.pro3
-rw-r--r--src/plugins/General/hotkey/hotkey.pro4
-rw-r--r--src/plugins/General/kdenotify/kdenotify.pro3
-rw-r--r--src/plugins/General/lyrics/lyrics.pro3
-rw-r--r--src/plugins/General/mpris/mpris.pro3
-rw-r--r--src/plugins/General/notifier/notifier.pro3
-rw-r--r--src/plugins/General/rgscan/rgscan.pro3
-rw-r--r--src/plugins/General/scrobbler/scrobbler.pro3
-rw-r--r--src/plugins/General/statusicon/statusicon.pro5
-rw-r--r--src/plugins/General/streambrowser/streambrowser.pro3
-rw-r--r--src/plugins/General/trackchange/trackchange.pro4
-rw-r--r--src/plugins/General/udisks/udisks.pro3
-rw-r--r--src/plugins/General/udisks2/udisks2.pro3
13 files changed, 16 insertions, 27 deletions
diff --git a/src/plugins/General/hal/hal.pro b/src/plugins/General/hal/hal.pro
index 2fca9bf0c..f68c2edf0 100644
--- a/src/plugins/General/hal/hal.pro
+++ b/src/plugins/General/hal/hal.pro
@@ -3,6 +3,7 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/hal
QT += dbus
+CONFIG += link_qmmpui
HEADERS += halfactory.h \
halplugin.h \
@@ -21,7 +22,5 @@ FORMS += settingsdialog.ui
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
diff --git a/src/plugins/General/hotkey/hotkey.pro b/src/plugins/General/hotkey/hotkey.pro
index 335d9b1ec..b815d906f 100644
--- a/src/plugins/General/hotkey/hotkey.pro
+++ b/src/plugins/General/hotkey/hotkey.pro
@@ -2,6 +2,8 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/hotkey
+CONFIG += link_qmmpui
+
HEADERS += hotkeyfactory.h \
hotkeymanager.h \
settingsdialog.h \
@@ -18,8 +20,6 @@ FORMS += settingsdialog.ui \
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
unix {
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
diff --git a/src/plugins/General/kdenotify/kdenotify.pro b/src/plugins/General/kdenotify/kdenotify.pro
index 5577e7433..259a166a6 100644
--- a/src/plugins/General/kdenotify/kdenotify.pro
+++ b/src/plugins/General/kdenotify/kdenotify.pro
@@ -6,6 +6,7 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/kdenotify
QT += dbus
+CONFIG += link_qmmpui
SOURCES += kdenotifyfactory.cpp \
kdenotify.cpp \
@@ -19,8 +20,6 @@ FORMS += settingsdialog.ui
RESOURCES += translations/translations.qrc
-LIBS += -lqmmpui
-
target.path = $$LIB_DIR/qmmp/General
images.files = images/app_icon.png \
images/empty_cover.png
diff --git a/src/plugins/General/lyrics/lyrics.pro b/src/plugins/General/lyrics/lyrics.pro
index 41c0aa4f1..68c0bdf1f 100644
--- a/src/plugins/General/lyrics/lyrics.pro
+++ b/src/plugins/General/lyrics/lyrics.pro
@@ -3,6 +3,7 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/lyrics
QT += network
+CONFIG += link_qmmpui
HEADERS += lyricsfactory.h \
lyrics.h \
@@ -16,8 +17,6 @@ FORMS += lyricswindow.ui
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
unix {
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
diff --git a/src/plugins/General/mpris/mpris.pro b/src/plugins/General/mpris/mpris.pro
index 4fdbcce76..21ec80737 100644
--- a/src/plugins/General/mpris/mpris.pro
+++ b/src/plugins/General/mpris/mpris.pro
@@ -3,6 +3,7 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/mpris
QT += dbus
+CONFIG += link_qmmpui
HEADERS += mprisfactory.h \
mpris.h \
@@ -22,7 +23,5 @@ SOURCES += mprisfactory.cpp \
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
diff --git a/src/plugins/General/notifier/notifier.pro b/src/plugins/General/notifier/notifier.pro
index 6da83f8dc..971d85f7b 100644
--- a/src/plugins/General/notifier/notifier.pro
+++ b/src/plugins/General/notifier/notifier.pro
@@ -1,6 +1,7 @@
include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/notifier
+CONFIG += link_qmmpui
HEADERS += notifierfactory.h \
notifier.h \
@@ -17,8 +18,6 @@ FORMS += settingsdialog.ui
RESOURCES = notifier_images.qrc \
translations/translations.qrc
-LIBS += -lqmmpui
-
unix {
PKGCONFIG += x11
target.path = $$LIB_DIR/qmmp/General
diff --git a/src/plugins/General/rgscan/rgscan.pro b/src/plugins/General/rgscan/rgscan.pro
index 8929efd16..974b922f7 100644
--- a/src/plugins/General/rgscan/rgscan.pro
+++ b/src/plugins/General/rgscan/rgscan.pro
@@ -1,6 +1,7 @@
include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/rgscan
+CONFIG += link_qmmpui
HEADERS += rgscanfactory.h \
rgscanhelper.h \
@@ -18,8 +19,6 @@ FORMS += rgscandialog.ui
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
unix {
PKGCONFIG += taglib
target.path = $$LIB_DIR/qmmp/General
diff --git a/src/plugins/General/scrobbler/scrobbler.pro b/src/plugins/General/scrobbler/scrobbler.pro
index 5d456e327..c5881d316 100644
--- a/src/plugins/General/scrobbler/scrobbler.pro
+++ b/src/plugins/General/scrobbler/scrobbler.pro
@@ -3,6 +3,7 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/scrobbler
QT += network
+CONFIG += link_qmmpui
HEADERS += scrobblerfactory.h \
settingsdialog.h \
@@ -21,8 +22,6 @@ FORMS += settingsdialog.ui
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
unix {
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
diff --git a/src/plugins/General/statusicon/statusicon.pro b/src/plugins/General/statusicon/statusicon.pro
index 0665c61a8..ff6ef6d07 100644
--- a/src/plugins/General/statusicon/statusicon.pro
+++ b/src/plugins/General/statusicon/statusicon.pro
@@ -1,6 +1,7 @@
include(../../plugins.pri)
-unix:TARGET = $$PLUGINS_PREFIX/General/statusicon
+TARGET = $$PLUGINS_PREFIX/General/statusicon
+CONFIG += link_qmmpui
HEADERS += statusiconfactory.h \
statusicon.h \
@@ -21,8 +22,6 @@ FORMS += settingsdialog.ui
RESOURCES = translations/translations.qrc \
images/tray_images.qrc
-LIBS += -lqmmpui
-
unix {
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
diff --git a/src/plugins/General/streambrowser/streambrowser.pro b/src/plugins/General/streambrowser/streambrowser.pro
index aea60f832..4239174c3 100644
--- a/src/plugins/General/streambrowser/streambrowser.pro
+++ b/src/plugins/General/streambrowser/streambrowser.pro
@@ -3,6 +3,7 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/streambrowser
QT += network
+CONFIG += link_qmmpui
HEADERS += streambrowserfactory.h \
streambrowser.h \
@@ -16,8 +17,6 @@ FORMS += streamwindow.ui
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
unix {
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
diff --git a/src/plugins/General/trackchange/trackchange.pro b/src/plugins/General/trackchange/trackchange.pro
index a709b8a1a..681a4cabc 100644
--- a/src/plugins/General/trackchange/trackchange.pro
+++ b/src/plugins/General/trackchange/trackchange.pro
@@ -2,6 +2,8 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/trackchange
+CONFIG += link_qmmpui
+
HEADERS += trackchangefactory.h \
trackchange.h \
settingsdialog.h
@@ -14,8 +16,6 @@ FORMS += settingsdialog.ui
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
unix {
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
diff --git a/src/plugins/General/udisks/udisks.pro b/src/plugins/General/udisks/udisks.pro
index 905a10629..edbe94272 100644
--- a/src/plugins/General/udisks/udisks.pro
+++ b/src/plugins/General/udisks/udisks.pro
@@ -3,6 +3,7 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/udisks
QT += dbus
+CONFIG += link_qmmpui
HEADERS += udisksfactory.h \
udisksplugin.h \
@@ -20,7 +21,5 @@ FORMS += settingsdialog.ui
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
diff --git a/src/plugins/General/udisks2/udisks2.pro b/src/plugins/General/udisks2/udisks2.pro
index 2034bd925..ff30fe707 100644
--- a/src/plugins/General/udisks2/udisks2.pro
+++ b/src/plugins/General/udisks2/udisks2.pro
@@ -3,6 +3,7 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/udisks2
QT += dbus
+CONFIG += link_qmmpui
HEADERS += udisks2factory.h \
udisks2plugin.h \
@@ -20,7 +21,5 @@ FORMS += settingsdialog.ui
RESOURCES = translations/translations.qrc
-LIBS += -lqmmpui
-
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target