By default, a debug folder with the moc_*.cpp files are generated into Project_folder/debug. I don't want the moc_*.cpp files to be inside the default Project_folder/debug folder but instead I want it to be in my new folder outside the Project_folder. e.g /Debug .
So that my main project folder will look like this :-
- Project_folder
- Debug

Qt Code:
  1. OBJECTS_DIR = ../Debug
To copy to clipboard, switch view to plain text mode 

The configuration as above in *.pro file only makes the moc_*.o files into the -Debug folder but not the moc_*.cpp files.