PDA

View Full Version : How to reconfigure moc_*.cpp files to Debug folder outside project folder?



babygal
13th October 2010, 04:27
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


OBJECTS_DIR = ../Debug

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