I have a huge library of code which has messed up the include portions and now I want to do some scripting to guess the right includes (without including all, of course).

Is there a catalog map to find which header needs to be included to use a certain Qt class ?

something via moc ? or qt documentation system ?