Hi, I'm trying to compile a program but one of the headers is giving me an error.
The header:
Qt Code:
  1. #include "ui_DAQDialog.h"
  2. #include <QDialog>
  3. #include <QMap>
  4. #include <QTime>
  5. #include "QCard"
  6.  
  7. class DAQDialog: public QDialog, public Ui::DAQDialog {
  8. Q_OBJECT
  9.  
  10. public:
  11. DAQDialog(QWidget *parent = 0, QCard *card0 = 0);
  12.  
  13. QMap<double, double> data;
  14.  
  15. private slots:
  16. void doDAQ();
  17.  
  18. private:
  19. QCard *Card;
  20. QTime timer;
  21. QTime waiter;
  22. };
To copy to clipboard, switch view to plain text mode 

The compilation error:
Qt Code:
  1. DAQDialog.h:40: error: field 'data' has incomplete type
To copy to clipboard, switch view to plain text mode 

Thanks,

Fedcer