QCustomPlot Discussion and Comments

I can't compile the source code.Return to overview

I use Qt 6.3.1. When I compile it, it encountered some error.

moc_qcustomplot.cpp:249:54: error: template argument 1 is invalid
249 | , QtPrivate::TypeAndForceComplete<QCP, std::true_type>
| ^
moc_qcustomplot.cpp:248:1: error: template argument 2 is invalid
248 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QCP_t
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249 | , QtPrivate::TypeAndForceComplete<QCP, std::true_type>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 |
|
251 |
|
252 |
|
253 | >,
| ~
make: *** [Makefile:7988: moc_qcustomplot.o] Error 1
15:43:27: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project VXInspection (kit: Desktop Qt 6.3.1 GCC 64bit)
When executing step "Make"

the same problem

also the same problem

https://www.qcustomplot.com/index.php/support/forum/2380

Same problem
QCustomPlot does not compile with QT 6.2.4
Template argument error.

With Qt 6.2.4 the problem seems to comme from Qt
No problem with Qt 5.x