summaryrefslogtreecommitdiffstats
path: root/src/plugins/generic/evdevmouse/evdevmouse.pro
diff options
context:
space:
mode:
authorBhooshan Supe <ext-bhooshan.supe@nokia.com>2012-04-10 10:57:38 -0700
committerQt by Nokia <qt-info@nokia.com>2012-04-12 04:15:32 +0200
commit3a4ed33140bb5dc1b2bf9e783dd26d5fde7c857b (patch)
tree7f4f6e9f13cb91d0c029fd47ec61f33ca4c734f9 /src/plugins/generic/evdevmouse/evdevmouse.pro
parente78424523884f7c0ae48590322c071fb0d19a56b (diff)
Remove input plugins hard libudev dependency
libudev extends the base functionality of these plugins but should not be mandatory as it is missing on many embedded devices that still actually require input devices (keyboard and/or mouse and/or touchscreen) support Change-Id: Ieeb949f1af5e774578f689a63f47a8c48f546ac1 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'src/plugins/generic/evdevmouse/evdevmouse.pro')
-rw-r--r--src/plugins/generic/evdevmouse/evdevmouse.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/generic/evdevmouse/evdevmouse.pro b/src/plugins/generic/evdevmouse/evdevmouse.pro
index f322a5bd1a..fb9c0e71b8 100644
--- a/src/plugins/generic/evdevmouse/evdevmouse.pro
+++ b/src/plugins/generic/evdevmouse/evdevmouse.pro
@@ -17,4 +17,6 @@ SOURCES = main.cpp \
OTHER_FILES += \
evdevmouse.json
-LIBS += $$QMAKE_LIBS_LIBUDEV
+contains(QT_CONFIG, libudev) {
+ LIBS += $$QMAKE_LIBS_LIBUDEV
+}