Maybe you didn't compile debug version of Qt libraries, check if you have QtCored4.dll, QtGuid4.dll ect. in lib subdirectory of Qt install folder. If you don't, go to Qt directory with cmd and type make debug.