I belive it's more likely that you forgot to implement something in the program
Something that is done automatically by Qt but what you have to do yourself if you don't use it. If the program compiles then all KDevelop's work is done, it doesn't take care of the logic of your programs.