[Qt-creator] Qt Creator plugin API question

Eike Ziller Eike.Ziller at qt.io
Wed Sep 12 13:20:04 CEST 2018


If your question is about kits, generally the KitManager provides the list of defined Kits.
Kits are composed of data generated by KitInformation classes.
A specific KitInformation class can be used to provide specific info about a kit, e.g. QtKitInformation::qtVersion(kit) returns the Qt version specified in the kit.

Br, Eike

> On 11. Sep 2018, at 14:29, Aleksey Kontsevich <tantrido at ya.ru> wrote:
> 
> Hi all,
> 
> I need to implement KitDataSource for new ConnectedCreatorPlugin which will be officially shipped with QtC distribution. This data source gather information about   compilers, platforms, target platforms, debuggers, etc used by a QtC user. I've found  ProjectExplorer Namespace documentation (https://doc-snapshots.qt.io/qtcreator-extending/projectexplorer.html#namespaces) with classes which contains this information however documentation is still very poor and there are very many classes so it is not quite clear which one to use, how to use and how they are connected to each other. So question is:
> - how better organize these information gathering
> - which classes to use
> - which signals, methods
> - when to gather the information: on a project open, kit setup, etc?
> 
> Gould you guide me a little on this please? Thanks!
> 
> -- 
> Best regards,
> Aleksey
> Linked in  https://www.linkedin.com/in/alekseykontsevich
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
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