Can anyone please tell why this error? I have included everything ( all header, sources and form class) in my .pro file
Error message:
debug/moc_calculatorform.o:moc_calculatorform.cpp:(.rdata$_ZTV14CalculatorForm[vtable for CalculatorForm]+0xb0):
undefined reference to `CalculatorForm::changeEvent(QEvent*)’
collect2: ld returned 1 exit
status mingw32-make.exe[1]:[debug\calculatorform.exe] Error 1
mingw32-make.exe:
[debug] Error 2 13:02:27: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2. Error while building project calculatorform (target: Qt Simulator) When executing build step ‘Make’
undefined reference to CalculatorForm::changeEvent(QEvent*)There’s your answer, the linker can’t find the definition of this method – you have probably forgotten to implement it.