[Qt-creator] Catch application pid
Ziller Eike
Eike.Ziller at theqtcompany.com
Wed Jan 21 09:42:06 CET 2015
> On Jan 21, 2015, at 1:57 AM, Zygmunt Ptak <zygmuntptak at gmail.com> wrote:
>
> Hi,
> I want to create simple plugin for qt-creator.
> My plan is to get debug output from journald, but without PID it's not so easy.
> How can I catch application PID in qt-creator?
> Is it possible to get PID from some plugin API (projectexplorer?)?
> Or maybe someone will have some suggestion.
ProjectExplorer::RunControl::applicationProcessHandle looks like a good candidate.
Br, Eike
> Regards
> Zygmunt
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Eike Ziller, Senior Software Engineer - The Qt Company GmbH
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
More information about the Qt-creator
mailing list