revisions

This commit is contained in:
pls.153 2024-05-22 18:15:13 +02:00
parent 04e511326a
commit f02422ddfe
5 changed files with 11 additions and 11 deletions

View file

@ -6,7 +6,7 @@
#include <QNetworkInterface>
#include <QHostAddress>
#ifdef Q_OS_UNIX
#if (defined Q_OS_UNIX) && !(defined NO_USB)
#include "usb/usb.h"
#endif
@ -341,7 +341,7 @@ QVariant QT::localIp() {
// USB
#ifdef Q_OS_UNIX
#if (defined Q_OS_UNIX) && !(defined NO_USB)
QVariant QT::connectUsb() {
if (usb == nullptr) {
usb = new USB();

View file

@ -28,7 +28,7 @@ QT_BEGIN_NAMESPACE
extern "C" { LIB_EXPORT QObject* ini(); }
#ifdef Q_OS_UNIX
#if (defined Q_OS_UNIX) && !(defined NO_USB)
class USB;
#endif
@ -111,7 +111,7 @@ public:
Q_INVOKABLE QVariant localIp();
// USB
#ifdef Q_OS_UNIX
#if (defined Q_OS_UNIX) && !(defined NO_USB)
Q_INVOKABLE QVariant connectUsb ();
Q_INVOKABLE QVariant sendToUlisp (const QVariant&);