[Qt-creator] Handling of Qt frameworks in the combination of clang code model and generic project manager

Tobias Hunger Tobias.Hunger at qt.io
Tue Feb 7 17:36:36 CET 2017

Hi Andreas,

On Tue, 2017-02-07 at 15:20 +0100, Andreas Pakulat wrote:

> I wonder though; Would it be possible that QtCreator detects that one
> of the given entries is a framework and pass this information on to
> the clang code model (and likely eventually libclang) so that the
> include-resolving happens the same way it works during compilation?

Not right now. But of course code could get contributed to add such a feature.
The simplest way would probably be to put to enable that.

The simplest possible approach is probably to just treat include paths ending in
"<FRAMEWORK>" as frameworks or something. Should not be too hard to add.

As always: Patches are welcome.

Best Regards,

Tobias Hunger, Senior Software Engineer | The Qt Company
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho. Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

More information about the Qt-creator mailing list