PDA

View Full Version : Sharing precompiled headers



magland
15th November 2007, 10:49
Is there a way to let multiple Qt4 projects share a precompiled header file (so when changes are made to the headers, the precompiled header only needs to be rebuilt once).

I know one way would be to specify a common directory for all object files (via OBJECTS_DIR)... however I don't want to do that. Perhaps there is a way to specify OBJECTS_DIR only for the precompiled header?

I'm using MinGW on windows.

Thanks