Reputation: 241
I am trying to add libusb library from https://github.com/libusb/libusb/releases/download/v1.0.22/libusb-1.0.22.7z to my qt project can anyone help me ,I can't figure out how to add this library to my project
Upvotes: 1
Views: 2832
Reputation: 11
Open terminal:
sudo apt-get install libusb-1.0-0-dev
Edit file.pro
:
LIBS += -lusb-1.0
Edit your source fileHeader.h
:
#include <libusb-1.0/libusb.h>
Upvotes: 1