update: libusb.h include path

This commit is contained in:
dreamsourcelabTAI 2022-02-16 11:05:21 +08:00
parent f1c41c074e
commit 296a89b1a6
5 changed files with 3 additions and 5 deletions

View File

@ -41,7 +41,7 @@
#include <QStandardPaths>
#include <QScreen>
#include <QTimer>
#include <libusb.h>
#include <libusb-1.0/libusb.h>
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
#include <QGuiApplication>

View File

@ -28,7 +28,7 @@
#include <QLabel>
#include <QAbstractItemView>
#include <math.h>
#include <libusb.h>
#include <libusb-1.0/libusb.h>
#include "../devicemanager.h"
#include "../device/devinst.h"

View File

@ -22,7 +22,6 @@
*/
#include "../../libsigrok.h"
#include "../../libsigrok-internal.h"
//#include <libusb.h>
#include <glib-2.0/glib.h>
#include <glib/gstdio.h>
#include <stdio.h>

View File

@ -21,7 +21,6 @@
#include "../../libsigrok-internal.h"
#include <stdlib.h>
#include <glib-2.0/glib.h>
//#include <libusb.h>
/* SR_CONF_CONN takes one of these: */
#define CONN_USB_VIDPID "^([0-9a-z]{4})\\.([0-9a-z]{4})$"

View File

@ -24,7 +24,7 @@
#include <glib-2.0/glib.h>
#include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
#ifdef HAVE_LIBUSB_1_0
#include <libusb.h>
#include <libusb-1.0/libusb.h>
#endif
// firmware binary file directory, endswith letter '/'