This seems to be a link error i.e. before you get the executable to run???? how did you run the application ..... you say "when i run this simple program". Did you generate appropriate .pro file and Makefile using qmake tool. That should solve the problem by adding appropriate link path and include path to the compiling command line. Moreover, I suggest you to put the class interface for Checker in Checker.h, definition in Checker.cpp and the main stuff in main.cpp all under one folder called checker. Now run 'qmake -project' command. This will create a checker.pro file in the folder. i.e. if you do ls, you see Checker.h, Checker.cpp, main.cpp and checker.pro in your checker folder. Now just give 'qmake' command in shell and a Makefile is generated i.e. you see a new file called Makefile also in the same folder. Now give 'make' command. And after compiling you see the executable called checker in the folder which you can run. Note...qmake -project reads all the files in the current folder and generates a .pro file with same name as the 'pwd'. It also adds appropriate moc compiling actions if it encounters Q_OBJECT macro in any of the files. Your errors seem to be related to the meta object funda used by Qt. Read the Qt Documentation for more details. I hope this would help..
Regards
N. Commenter-1