Hi, I'm trying to compile a program but one of the headers is giving me an error.
The header:
#include "ui_DAQDialog.h"
#include <QDialog>
#include <QMap>
#include <QTime>
#include "QCard"
class DAQDialog
: public QDialog,
public Ui
::DAQDialog { Q_OBJECT
public:
DAQDialog
(QWidget *parent
= 0, QCard
*card0
= 0);
QMap<double, double> data;
private slots:
void doDAQ();
private:
QCard *Card;
};
#include "ui_DAQDialog.h"
#include <QDialog>
#include <QMap>
#include <QTime>
#include "QCard"
class DAQDialog: public QDialog, public Ui::DAQDialog {
Q_OBJECT
public:
DAQDialog(QWidget *parent = 0, QCard *card0 = 0);
QMap<double, double> data;
private slots:
void doDAQ();
private:
QCard *Card;
QTime timer;
QTime waiter;
};
To copy to clipboard, switch view to plain text mode
The compilation error:
DAQDialog.h:40: error: field 'data' has incomplete type
DAQDialog.h:40: error: field 'data' has incomplete type
To copy to clipboard, switch view to plain text mode
Thanks,
Fedcer
Bookmarks