I'm new to QT,
I'm going ti use QCustomplot real-time! when I'm using the tutorial example, I get an error in these lines!
// setup a timer that repeatedly calls MainWindow::realtimeDataSlot: connect(&dataTimer, SIGNAL(timeout()), this, SLOT(realtimeDataSlot())); dataTimer.start(0); // Interval 0 means to refresh as fast as possible
and the error is:
C:\Users\matrix\Documents\Plotting\mainwindow.cpp:37: error: 'dataTimer' was not declared in this scope
dataTimer.start(0); // Interval 0 means to refresh as fast as possible
I've serched it anywhere! but no-one had this problem :(