[Qt-creator] Load external memcheck xml file from new plugin

Hannes Domani ssbssa at yahoo.de
Wed Dec 6 23:25:06 CET 2017


Am Mittwoch, 6. Dezember 2017, 15:14:05 MEZ hat Hannes Domani <ssbssa at yahoo.de> Folgendes geschrieben: 
> Am Mittwoch, 6. Dezember 2017, 13:50:22 MEZ hat Nikolai Kosjar <nikolai.kosjar at qt.io> Folgendes geschrieben: 
> > On 12/06/2017 12:49 PM, Hannes Domani via Qt-creator wrote:
> > > I have written a plugin (for windows) that starts the current application with a tool that creates a memcheck xml file as output.
> > > Is there a way to load this xml file programmatically into the already available MemcheckTool window?
> >
> > The current MemcheckTool::loadExternalXmlLogFile() pop ups a file open 
> > dialog. You would need to adapt/overload that one and also make it 
> > accessible from your plugin.
>
> I was hoping this was possible without changing the qtcreator sources.
> If I have to do that, I might as well remove the extra plugin and extend the valgrind plugin with the needed functionality.

After thinking about it some more, extending the valgrind plugin might be the best solution.
I might just try that as my next little project.

For context, the tool I'm talking about is heob: https://github.com/ssbssa/heob
And the current plugin is in the qt-creator folder.


Regards
Hannes Domani



More information about the Qt-creator mailing list