From 5923196bc3fbed67beb637fd36e1bdf2d6780e36 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Fri, 20 Dec 2013 15:14:42 +0000 Subject: mtdev: Change to use configure detection instead of requiring source hacking. This coincidentally fixes a case of accidental BIC in qevdevtouch_p.h, where not all users would necessarily define USE_MTDEV: having it centralized inside Qt makes this now, blessedly, impossible. Change-Id: I196a8f21742830705759aa917a823afdc94ba2b5 Done-with: Michael Brasser Reviewed-by: Laszlo Agocs --- src/platformsupport/input/evdevtouch/evdevtouch.pri | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/platformsupport/input/evdevtouch/evdevtouch.pri') diff --git a/src/platformsupport/input/evdevtouch/evdevtouch.pri b/src/platformsupport/input/evdevtouch/evdevtouch.pri index 16e1a981fa..402c276d4d 100644 --- a/src/platformsupport/input/evdevtouch/evdevtouch.pri +++ b/src/platformsupport/input/evdevtouch/evdevtouch.pri @@ -8,6 +8,8 @@ contains(QT_CONFIG, libudev) { LIBS_PRIVATE += $$QMAKE_LIBS_LIBUDEV } -# DEFINES += USE_MTDEV +contains(CONFIG, mtdev) { + CONFIG += link_pkgconfig + PKGCONFIG_PRIVATE += mtdev +} -contains(DEFINES, USE_MTDEV): LIBS_PRIVATE += -lmtdev -- cgit v1.2.3