Can anyone help me how to remove these errors while debugging a c++ file
-
Re: [Makefile error in QT "Makefile Error 3"](/topic/135203/makefile-error-in-qt-makefile)-error-3)
-
@Shriansh
You either have not put theQOBJECT
macro in thecalculator
class declaration, or have not re-run the build from scratch since you did (including qmake).calculator.h
even has unsaved changes.... -
@JonB I didn't get it... Where is the error ? And what I have to do to correct it , please tell me for I'm indulged over it for an hour
@Shriansh
There is (probably) no error in your code.calculator.h
has unsaved changes so goodness knows what that might have in it. I said you need to (save that and) do a complete rebuild. Assuming you know where the build output directory is, delete it or all files in it. Not your source directory! -
@Shriansh
There is (probably) no error in your code.calculator.h
has unsaved changes so goodness knows what that might have in it. I said you need to (save that and) do a complete rebuild. Assuming you know where the build output directory is, delete it or all files in it. Not your source directory! -
@Shriansh
The error message from the linker tells you what method is called somewhere but not defined anywhere. Neither of your screenshots show where it is defined. -
@JonB after debugging another.cpp program "moc_calculator.cpp" gets built on its own and their it is showing alot of errors ...