
Originally Posted by
Lesiok
Changing to :
QVector<*SerialThread> _serialThreads;
QVector<*SerialThread> _serialThreads;
To copy to clipboard, switch view to plain text mode
This leads to a build error: '*' cannot appear in constant expression
This is my main handling object header:
#ifndef YADLOBJECT_H
#define YADLOBJECT_H
#include <QObject>
#include <QVector>
#include "Serial/serialthread.h"
#include "Database/dbthread.h"
{
Q_OBJECT
public:
YADLObject();
~YADLObject();
private:
QVector<*SerialThread> _serialThreads;
DBThread _dbThread;
public slots:
void initialize();
};
#endif // YADLOBJECT_H
#ifndef YADLOBJECT_H
#define YADLOBJECT_H
#include <QObject>
#include <QVector>
#include "Serial/serialthread.h"
#include "Database/dbthread.h"
class YADLObject : public QObject
{
Q_OBJECT
public:
YADLObject();
~YADLObject();
private:
QVector<*SerialThread> _serialThreads;
DBThread _dbThread;
public slots:
void initialize();
};
#endif // YADLOBJECT_H
To copy to clipboard, switch view to plain text mode
Bookmarks