syntax error: identifier 'ForceComplete' (compiling source file x64\Debug\moc\moc_qcustomplot.cpp)
'T': undeclared identifier (compiling source file x64\Debug\moc\moc_qcustomplot.cpp)
'std::remove_reference_t': 'T' is not a valid template type argument for parameter '_Ty' (compiling source file x64\Debug\moc\moc_qcustomplot.cpp)
I am receiving the errors above when trying to compile a Qt project using Qt6.3 on Windows. Kindly guide on how to solve the issue. Not able to find a solution anywhere.