[Qt-creator] Qt Creator plugin API question

Aleksey Kontsevich tantrido at ya.ru
Sun Oct 7 23:53:23 CEST 2018


Hi Eike,

I see there is no documentation about QtSupport namesapce or QtKitInformation?

Also it is not clear how to get other information like:
- compiler
- debugger
- target platform
- make system (qmake, qbs, cmake, etc)

Could You provide more info please? Thanks!

-- 
Best regards,
Aleksey
Linked in  https://www.linkedin.com/in/alekseykontsevich


12.09.2018, 14:20, "Eike Ziller" <eike.ziller at qt.io>:
> 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