The error changes a bit when Q_OBJECT is removed:
histPlot.
o:(.
rodata._ZTV8HistPlot
[vtable
for HistPlot
]+0x18
): undefined reference to `
QwtPlot::qt_metacast(char const*)'histPlot.o:(.rodata._ZTV8HistPlot[vtable for HistPlot]+0x20): undefined reference to `QwtPlot::qt_metacall(QMetaObject::Call, int, void**)'
collect2: ld returned 1 exit status
make: *** [timeClock] Error 1
histPlot.o:(.rodata._ZTV8HistPlot[vtable for HistPlot]+0x18): undefined reference to `QwtPlot::qt_metacast(char const*)'
histPlot.o:(.rodata._ZTV8HistPlot[vtable for HistPlot]+0x20): undefined reference to `QwtPlot::qt_metacall(QMetaObject::Call, int, void**)'
collect2: ld returned 1 exit status
make: *** [timeClock] Error 1
To copy to clipboard, switch view to plain text mode
Bookmarks