QCustomPlot Discussion and Comments

Problems with QGenericMatrix classReturn to overview

I've just added a widget and promoted it to the QCustomPlot. However, after doing this VS2019 is throwing errors in the QGenericMatrix class. It's coming up with a repetitive errors that are

syntax error: 'constant'
'QGenericMatrix': invalid expression as template argument for 'M'
'QGenericMatrix': invalid expression as template argument for 'M'
unexpected token(s) preceding ';'

It repeats that pattern for lines 83-104.

Although it is also throwing errors with

Q_DECLARE_METATYPE(/*different types of matrices here*/)

saying that there is no instance of the overloaded function qRegisterMetaType that matches the argument which might be the root cause.
Thanks in advance for any help.



errors seem to have resolved themselves but the syntax errors are constanst.

Never mind it was because I already had a defined variable of MM