Hello,

On Tuesday 06 September 2011 15:38:23 [email protected] wrote:
> Hi Tom!
> 
> If you need to access the parser then we need to export it. If you are
> planning to do a merge request of your code, please just include it their
> or tell me and I'll do so in a separate commit.

I'm not planning on doing a merge request yet, because it's not yet complete, 
but it would be great to be able to access GccParser (and MsvcParser too in 
fact).

> The best approach to avoid duplicating the functionality is most likely
> adding a custom parser of your own that redirects part of or all of its
> input received via stdout to the stderr-receiver of the gcc parser. The
> tricky part is to figure out which lines need to be passed on to GCC. I do
> not want the GccParser to just munch through all of the processes
> stdout-output as the parser is rather fragile:-(.

I already did something like this for 2.1 and I'm sending the stdout of the 
compile process to the stderr of the gcc parser.
For now it worked great and the parser hasn't crashed or got it wrong or so.

> Could that work for you?

Definitely!

Best regards,
Tom,
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to