Libraries: remove dependency to gui/widgets
This commit is contained in:
parent
b8089c443c
commit
7abe8ae419
@ -1,6 +1,6 @@
|
|||||||
CONFIG += plugin
|
CONFIG += plugin
|
||||||
QT -= gui
|
QT -= gui
|
||||||
QT += widgets serialport
|
QT += serialport
|
||||||
|
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#ifndef SER_H
|
#ifndef SER_H
|
||||||
#define SER_H
|
#define SER_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <QMainWindow>
|
#include <QObject>
|
||||||
//#include <QString>
|
//#include <QString>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QSerialPort>
|
#include <QSerialPort>
|
||||||
|
@ -27,7 +27,6 @@ V4.0 6.9.2023: activating DC-Bootloader in slve-lib (SM)
|
|||||||
#define hwapi_H
|
#define hwapi_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
//#include <QTabWidget>
|
|
||||||
#include <QtPlugin>
|
#include <QtPlugin>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
@ -98,7 +97,7 @@ private:
|
|||||||
//QTimer *hwapi_triggerBL;
|
//QTimer *hwapi_triggerBL;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit hwapi(QWidget *parent = nullptr);
|
explicit hwapi(QObject *parent = nullptr);
|
||||||
|
|
||||||
|
|
||||||
#ifdef THIS_IS_CA_MASTER
|
#ifdef THIS_IS_CA_MASTER
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#ifndef SERIAL_FRAME_H
|
#ifndef SERIAL_FRAME_H
|
||||||
#define SERIAL_FRAME_H
|
#define SERIAL_FRAME_H
|
||||||
#include <QMainWindow>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include "tslib.h"
|
#include "tslib.h"
|
||||||
@ -43,7 +43,7 @@
|
|||||||
#define STARTSIGN_RECEIVE_LONG 0x5D
|
#define STARTSIGN_RECEIVE_LONG 0x5D
|
||||||
|
|
||||||
|
|
||||||
class T_prot : public QMainWindow
|
class T_prot : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#define RUN_PROCESS_H
|
#define RUN_PROCESS_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <QMainWindow>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include "tslib.h"
|
#include "tslib.h"
|
||||||
|
@ -37,7 +37,7 @@ static uint8_t bl_startupStep;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
hwapi::hwapi(QWidget *parent) : QObject(parent)
|
hwapi::hwapi(QObject *parent) : QObject(parent)
|
||||||
{
|
{
|
||||||
// constructor
|
// constructor
|
||||||
qCritical() << " hwapi::hwapi() APP_VERSION:" << APP_VERSION;
|
qCritical() << " hwapi::hwapi() APP_VERSION:" << APP_VERSION;
|
||||||
|
Loading…
Reference in New Issue
Block a user