[Qt-creator] Finding Qt bin for Kit

Tomasz Olszak olszak.tomasz at gmail.com
Tue Sep 22 10:51:57 CEST 2015


2015-09-22 10:09 GMT+02:00 Janne Koskinen <koshuin at gmail.com>:
> Hi,
>
> I have some additional tools that are located in Qt/<qtbase>/bin directory
> of the Qt version that I am building my project for.
> I need to find out what is the location of Qt/bin for currently selected Kit
> in my Qt-Creator plugin and can't seem to find it.
>
> I think least ProjectExplorer knows but I guess I have wrong terminology.
> Hints are welcome :)
>
See QtKitInformation in ./src/plugins/qtsupport/qtkitinformation.h

I think what are you looking for is:
static BaseQtVersion *qtVersion(const ProjectExplorer::Kit *k);
and BaseQtVersion::binPath() or  BaseQtVersion::qmakeCommand()



More information about the Qt-creator mailing list