diff --git a/shuttle.h b/shuttle.h index 69f78b3..8e9e7f5 100644 --- a/shuttle.h +++ b/shuttle.h @@ -5,7 +5,8 @@ #include #include #include -#ifdef Q_OS_LINUX + +#ifndef Q_OS_WIN #include "hidapi/hidapi.h" #else #include "hidapi.h" diff --git a/wfview.pro b/wfview.pro index a871bad..21896e1 100644 --- a/wfview.pro +++ b/wfview.pro @@ -95,7 +95,7 @@ CONFIG(debug, release|debug) { #linux:LIBS += -L./ -l$$QCPLIB -lpulse -lpulse-simple -lpthread linux:LIBS += -L./ -l$$QCPLIB -lhidapi-libusb -macx:LIBS += -framework CoreAudio -framework CoreFoundation -lpthread +macx:LIBS += -framework CoreAudio -framework CoreFoundation -lhidapi -lpthread win32:LIBS += -L../hidapi/windows/release -lhidapi win32:INCLUDEPATH += ../hidapi/hidapi