[Qt-creator] Branch 2.6: Can't catch the moc errors

Peter Kümmel syntheticpp at gmx.net
Wed Sep 26 18:53:43 CEST 2012


On 26.09.2012 17:57, Tobias Hunger wrote:
> On 26.09.2012 17:13, Peter Kümmel wrote:
>> It's not a redirecting problem, also the ninja build passes the line to
>>
>> bool MsvcParser::processCompileLine(const QString &line)
>> {
>>        sendQueuedTask();
>>
>>        if (m_compileRegExp.indexIn(line) > -1) {
>>
>>
>> But the regex doesn't match. In a qmake based build the line looks like this:
>
> Actually that should match MSVC errors and not errors from moc... that
> is for the Qt parser to do. And it does: I just added a unit test with
> your output.
>
> Is that parser in the parser chain? I think CMake's makestep does not
> add it. Please feel free to test
>       https://codereview.qt-project.org/35774

Great, this fixes the issue, Thanks!

>
> If I get enough reports that it works in all the types of projects
> touched, then I might be able to convince Eike to include it in 2.6
> (otherwise this is for master).
>
> Best Regards,
> Tobias
>



More information about the Qt-creator mailing list