:: error: No rule to make target `debug/loginwindow.moc', needed by `debug/loginwindow.o'. Stop.


I am a newbie to Qt and i keep getting this error... i know this a silly error and i am overlooking some where, but please help me out and guide me on this.

well i have seen my .pro file where i included the header file (loginwindow.h)

and my loginwindow.cpp contains #include "loginwindow.moc"

My loginwindow.h contains the Q_OBJECT macro

i went across the thread where chisW67 made a post which i could follow.

thanx in advance...