Can you please post your complete project so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Thanks Bob Marlowe for the response. I was able to rectify my mistake. Thanks again