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