[Qt-creator] Creator doesn't shadow build (Core.json vs moc)

Konstantin Tokarev annulen at yandex.ru
Thu Jul 12 16:03:23 CEST 2012



> On Thu, Jul 12, 2012 at 02:36:54PM +0200, ext Daniel Teske wrote:
> 
>> On Wednesday 11 Jul 2012 03:44:22 ext Lincoln Ramsay wrote:
>>
>>> Should moc look for .json files in $$OUT_PWD or should creator force the
>>> .json files to be created in the correct directory.
>>
>> Good question. From a Creator standpoint, geenrating anything in the source
>> directory for a shadow build is not ideal, but if moc expects it there, then
>> so be it for now.
> 
> it's not not ideal, but a total no-go. apart from theoretical exercises
> like a shared read-only source tree, there are also cases like multiple
> shadow builds of one source tree.
> 
> moc needs an option to add a search path for these files. in fact, maybe
> just the include path could be used. isn't this the case already?

Why in the world moc is dealing with json files? It was complex already, why
make it even more complex?


 -- 
Regards,
Konstantin



More information about the Qt-creator mailing list