[Qt-creator] CppTools::ProjectInfo project sources and include paths
Daniel Teske
Daniel.Teske at theqtcompany.com
Tue Feb 3 17:16:08 CET 2015
On Tuesday 03 Feb 2015 17:11:51 you wrote:
> Hi Nikolai & Daniel,
> thanks for your answers. For my plugin it would be better to get files and
> include paths for selected configuration, not just all for the active
> project. Sources of selected configuration create final binary, so it has
> sence to check only these files.
> @Daniel: Could you please point me to the prived methods you have to get
> active sources? I coud than build custom version of qtcreator for the first
> time and make them public in this version.
Those methods don't exist. The data is retrieved from the parsers in
QmakeProFileNode::evaluate, the exact parser is the one that contains the data
you want. Whereas the cumulative parser contains all kinds of heuristics to
gather more files.
daniel
More information about the Qt-creator
mailing list