why i am getting error "QwtText yText’ has incomplete type and cannot be defined" ?
Solved
General and Desktop
-
/home/mangal/amnex@12/20JUNE2021_committed_untested_nfc/LZ-50/trunk/Camera.cpp:3651: error: aggregate ‘QwtText yText’ has incomplete type and cannot be defined
3651 | QwtText yText;
| ^~~~~ -
/home/mangal/amnex@12/20JUNE2021_committed_untested_nfc/LZ-50/trunk/Camera.cpp:3651: error: aggregate ‘QwtText yText’ has incomplete type and cannot be defined
3651 | QwtText yText;
| ^~~~~@Qt-embedded-developer
Sounds like the code has not included whatever to defineQwtText
when it reaches that line. -
@Qt-embedded-developer
Sounds like the code has not included whatever to defineQwtText
when it reaches that line.@JonB i have added needed .h file and it solved the issue. thanks.