File tree 8 files changed +55
-3
lines changed
8 files changed +55
-3
lines changed Original file line number Diff line number Diff line change 1
- set(QT_REPO_MODULE_VERSION "6.0.3 ")
1
+ set(QT_REPO_MODULE_VERSION "6.4.2 ")
Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.16)
4
4
5
+ # Allow to build with a different Qt version
6
+ set (QT_NO_PACKAGE_VERSION_CHECK TRUE )
7
+
5
8
include (.cmake.conf)
6
9
project (QtUsb
7
- VERSION 6.8 .0 # FIXME: this needs to match host's Qt version
10
+ VERSION 6.0 .0 # We need 6.x
8
11
DESCRIPTION "A cross-platform USB Module for Qt."
9
12
HOMEPAGE_URL "https://github.com/fpoussin/QtUsb"
10
13
LANGUAGES CXX C
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ Check the [releases](https://github.com/fpoussin/QtUsb/releases) page or [appvey
29
29
## Build
30
30
31
31
** Unix**
32
- You need libusb-1.0-0-dev, libhidapi-dev and pkg-config packages installed
32
+ You need ` libusb-1.0-0-dev ` , ` libhidapi-dev ` and ` pkg-config ` packages installed
33
+ If using system packages on Ubuntu, you'll need ` qt6-base-private-dev ` as well.
33
34
``` shell
34
35
mkdir build && cd build
35
36
cmake ..
Original file line number Diff line number Diff line change 1
1
#ifndef QHIDDEVICE_P_H
2
2
#define QHIDDEVICE_P_H
3
3
4
+ //
5
+ // W A R N I N G
6
+ // -------------
7
+ //
8
+ // This file is not part of the Qt API. It exists purely as an
9
+ // implementation detail. This header file may change from version to
10
+ // version without notice, or even be removed.
11
+ //
12
+ // We mean it.
13
+ //
14
+
4
15
#include " qhiddevice.h"
5
16
#include < private/qobject_p.h>
6
17
#include < hidapi.h>
Original file line number Diff line number Diff line change 1
1
#ifndef Q_USB_P_H
2
2
#define Q_USB_P_H
3
3
4
+ //
5
+ // W A R N I N G
6
+ // -------------
7
+ //
8
+ // This file is not part of the Qt API. It exists purely as an
9
+ // implementation detail. This header file may change from version to
10
+ // version without notice, or even be removed.
11
+ //
12
+ // We mean it.
13
+ //
14
+
4
15
#include " qusb.h"
5
16
#include < private/qobject_p.h>
6
17
#include < QTimer>
Original file line number Diff line number Diff line change 1
1
#ifndef QUSBDEVICE_P_H
2
2
#define QUSBDEVICE_P_H
3
3
4
+ //
5
+ // W A R N I N G
6
+ // -------------
7
+ //
8
+ // This file is not part of the Qt API. It exists purely as an
9
+ // implementation detail. This header file may change from version to
10
+ // version without notice, or even be removed.
11
+ //
12
+ // We mean it.
13
+ //
14
+
4
15
#include " qusbdevice.h"
5
16
#include < private/qobject_p.h>
6
17
#include < QThread>
Original file line number Diff line number Diff line change 6
6
#include < QIODevice>
7
7
#include < QObject>
8
8
9
+ QT_BEGIN_NAMESPACE
10
+
9
11
class QUsbEndpointPrivate ;
10
12
11
13
class Q_USB_EXPORT QUsbEndpoint : public QIODevice
@@ -112,4 +114,6 @@ public Q_SLOTS:
112
114
const quint8 m_ep;
113
115
};
114
116
117
+ QT_END_NAMESPACE
118
+
115
119
#endif // QUSBENDPOINT_H
Original file line number Diff line number Diff line change 1
1
#ifndef QUSBENDPOINT_P_H
2
2
#define QUSBENDPOINT_P_H
3
3
4
+ //
5
+ // W A R N I N G
6
+ // -------------
7
+ //
8
+ // This file is not part of the Qt API. It exists purely as an
9
+ // implementation detail. This header file may change from version to
10
+ // version without notice, or even be removed.
11
+ //
12
+ // We mean it.
13
+ //
14
+
4
15
#include " qusbendpoint.h"
5
16
#include < QMutexLocker>
6
17
#include < private/qiodevice_p.h>
You can’t perform that action at this time.
0 commit comments