We are currently doing this. Our way for doing this uses inherited property sheets.
We first create a master property sheet that contains all the settings, paths, macros, etc that are common to all configurations. We find placing these in the root directory of the solution to be the most convenient way.
Then for each configuration, debug/release & 32/64bit we made 4 separate build property sheets that -
- Each Inherit the master property sheet (use View/Property Manager on VS toolbar).
- Configure each sheet to link to the correct Qt library dll.
Now for the tedious part - For each project in your solution, there are 4 separate properties. You now have to inherit each build property sheet into the respective property settings of the project. For example, 32bit release build property sheet has to be inherited by the 32bit release property settings.
Assuming all Qt dll's are in the same directory, all configuration should work the same.