6 DEFINES
+= OPHID_LIBRARY
8 //DEFINES
+= OPHID_DEBUG_ON
10 include(../../plugin
.pri
)
11 include(ophid_dependencies
.pri
)
20 inc
/ophid_usbsignal
.h \
24 src
/ophid_plugin
.cpp \
26 src
/ophid_usbsignal
.cpp \
33 OTHER_FILES
+= opHID
.pluginspec
41 src
/ophid_usbmon_win
.cpp \
44 LIBS
+= -lhid
-lsetupapi
49 src
/ophid_usbmon_mac
.cpp \
52 LIBS
+= -framework CoreFoundation
-framework IOKit
54 # hid.c has too many warnings about unused paramters.
55 QMAKE_CXXFLAGS_WARN_ON
+= -Wno
-unused
-parameter
56 QMAKE_CFLAGS_WARN_ON
+= -Wno
-unused
-parameter
61 src
/ophid_usbmon_linux
.cpp
63 LIBS
+= -ludev
-lrt
-lpthread
67 #SOURCES += hidapi/linux/hid.c
69 SOURCES
+= hidapi
/libusb
/hid
.c
71 CONFIG
+= link_pkgconfig
72 PKGCONFIG
+= libusb
-1.0
74 !exists(/usr
/include
/libusb
-1.0) {
75 error(Install libusb
-1.0-0-dev using your package manager
.)