[Development] Remember to rebuild qmake in dev

Kai Koehne Kai.Koehne at qt.io
Fri Jul 22 08:19:02 CEST 2016



> -----Original Message-----
> From: Development [mailto:development-bounces+kai.koehne=qt.io at qt-
> project.org] On Behalf Of Thiago Macieira
> Sent: Thursday, July 21, 2016 10:51 PM
> To: development at qt-project.org
> Subject: Re: [Development] Remember to rebuild qmake in dev
> 
> On quinta-feira, 21 de julho de 2016 18:02:51 PDT Mitch Curtis wrote:
> > It's probably worth pointing out what kind of errors we can expect
> > should we forget (so that we can recognise the problem).
> 
> The moc_predefs.h file contains qmake's help output, as opposed to a valid C
> source file. Since that file is consumed by moc itself, you're going to get moc
> parsing errors.

Actually the qmake call already returns with an error code, so what you see is just something like

jom: D:\dev\qt\dev\msvc-2015-32\qtbase\src\testlib\Makefile.Debug [.moc\debug\moc_predefs.h] Error 2

with no previous error message.

Been there, done that :)

Kai


More information about the Development mailing list