Qt project for usb relay hid library with simple GUI client (#13)
[usb-relay-hid.git] / qt / QUsbRelay / QUsbRelay.pro
diff --git a/qt/QUsbRelay/QUsbRelay.pro b/qt/QUsbRelay/QUsbRelay.pro
new file mode 100644 (file)
index 0000000..3e473aa
--- /dev/null
@@ -0,0 +1,29 @@
+QT  -= core gui
+
+TARGET = usb_relay_device
+TEMPLATE = lib
+CONFIG += dll
+
+SOURCES += ../../lib/usb_relay_lib.c
+win32{
+    SOURCES += ../../commandline/hiddata_mswin.c
+}
+unix{
+    SOURCES += ../../commandline/hiddata_libusb01.c
+}
+
+HEADERS += ../../lib/usb_relay_device.h \
+        ../../lib/usb_relay_hw.h \
+        ../../commandline/hiddata.h
+
+INCLUDEPATH += ../../lib/usb-relay-dll/
+INCLUDEPATH += ../../commandline/
+
+win32{
+    INCLUDEPATH += C:/Program Files (x86)/Windows Kits/8.0/Include/
+}
+
+unix:{
+CONFIG += link_pkgconfig
+PKGCONFIG += libusb
+}